Open CASCADE Technology  7.6.0
Data Structures | Macros

NCollection_UBTree.hxx File Reference

#include <NCollection_BaseAllocator.hxx>
#include <NCollection_DefineAlloc.hxx>

Data Structures

class  NCollection_UBTree< TheObjType, TheBndType >
 
class  NCollection_UBTree< TheObjType, TheBndType >::Selector
 Memory allocation. More...
 
class  NCollection_UBTree< TheObjType, TheBndType >::TreeNode
 

Macros

#define DEFINE_HUBTREE(_HUBTREE, _OBJTYPE, _BNDTYPE, _HPARENT)
 
#define IMPLEMENT_HUBTREE(_HUBTREE, _HPARENT)
 

Macro Definition Documentation

◆ DEFINE_HUBTREE

#define DEFINE_HUBTREE (   _HUBTREE,
  _OBJTYPE,
  _BNDTYPE,
  _HPARENT 
)

Declaration of handled version of NCollection_UBTree. In the macros below the arguments are: _HUBTREE - the desired name of handled class _OBJTYPE - the name of the object type _BNDTYPE - the name of the bounding box type _HPARENT - the name of parent class (usually Standard_Transient)

◆ IMPLEMENT_HUBTREE

#define IMPLEMENT_HUBTREE (   _HUBTREE,
  _HPARENT 
)