Open CASCADE Technology
7.9.0
Loading...
Searching...
No Matches
Macros
NCollection_DefineAlloc.hxx File Reference
#include <
NCollection_BaseAllocator.hxx
>
Macros
#define
DEFINE_NCOLLECTION_ALLOC
Macro Definition Documentation
◆
DEFINE_NCOLLECTION_ALLOC
#define DEFINE_NCOLLECTION_ALLOC
Value:
void
*
operator
new
(
size_t
theSize,
const
Handle
(
NCollection_BaseAllocator
)& theAllocator) \
{ \
return
theAllocator->Allocate(theSize); \
} \
void
operator
delete
(
void
* theAddress,
const
Handle
(
NCollection_BaseAllocator
)& theAllocator) \
{ \
theAllocator->Free(theAddress); \
}
Handle
#define Handle(Class)
Define Handle() macro.
Definition
Standard_Handle.hxx:403
NCollection_BaseAllocator
Definition
NCollection_BaseAllocator.hxx:46
src
NCollection
NCollection_DefineAlloc.hxx
Generated by
1.13.2