Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

NCollection_DefineHSet.hxx File Reference

#include <Standard_DefineHandle.hxx>
#include <NCollection_DefineSet.hxx>
#include <MMgt_TShared.hxx>

Defines

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

Define 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)                                           \
};                                                                             \
                                                                               \
DEFINE_STANDARD_HANDLE (HClassName, MMgt_TShared)                              \
                                                                               \
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; }                                               \

#define IMPLEMENT_HSET HClassName   ) 
 

Value:


Generated on Mon Aug 25 13:11:58 2008 for OpenCASCADE by  doxygen 1.4.1