Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros
NCollection_DefineHSet.hxx File Reference
#include <Standard_DefineHandle.hxx>
#include <NCollection_DefineSet.hxx>
#include <MMgt_TShared.hxx>

Macros

#define DEFINE_HSET(HClassName, _SetType_)
 
#define IMPLEMENT_HSET(HClassName)
 

Macro Definition Documentation

#define DEFINE_HSET (   HClassName,
  _SetType_ 
)
Value:
\
class HClassName : public _SetType_, \
public MMgt_TShared { \
public: \
inline HClassName (); \
inline HClassName (const _SetType_& anOther); \
inline const _SetType_& Set () const; \
inline _SetType_& ChangeSet (); \
DEFINE_STANDARD_RTTI (HClassName) \
}; \
\
inline HClassName::HClassName () : \
_SetType_(), \
MMgt_TShared() {} \
\
inline HClassName::HClassName (const _SetType_& anOther) : \
_SetType_(anOther), \
MMgt_TShared() {} \
\
inline const _SetType_& HClassName::Set () const \
{ return * (const _SetType_ *) this; } \
\
inline _SetType_& HClassName::ChangeSet () \
{ return * (_SetType_ *) this; } \
The abstract class TShared is the root class of managed objects. TShared objects are managed by a...
Definition: MMgt_TShared.hxx:44
#define DEFINE_STANDARD_HANDLE(C1, C2)
Definition: Standard_DefineHandle.hxx:81
#define DEFINE_STANDARD_RTTI(C1)
Definition: Standard_DefineHandle.hxx:93
#define IMPLEMENT_HSET (   HClassName)
Value:
The abstract class TShared is the root class of managed objects. TShared objects are managed by a...
Definition: MMgt_TShared.hxx:44
#define IMPLEMENT_STANDARD_RTTIEXT(C1, C2)
Definition: Standard_DefineHandle.hxx:127
#define IMPLEMENT_STANDARD_HANDLE(C1, C2)
Definition: Standard_DefineHandle.hxx:83