Open CASCADE Technology  7.0.0
Macros

NCollection_DefineHArray1.hxx File Reference

#include <Standard_Type.hxx>
#include <NCollection_DefineArray1.hxx>
#include <MMgt_TShared.hxx>

Macros

#define DEFINE_HARRAY1(HClassName, _Array1Type_)
 
#define IMPLEMENT_HARRAY1(HClassName)
 

Macro Definition Documentation

#define DEFINE_HARRAY1 (   HClassName,
  _Array1Type_ 
)
Value:
class HClassName : public _Array1Type_, public MMgt_TShared { \
public: \
DEFINE_STANDARD_ALLOC \
DEFINE_NCOLLECTION_ALLOC \
HClassName (const Standard_Integer theLower, \
const Standard_Integer theUpper) : \
_Array1Type_ (theLower,theUpper) {} \
HClassName (const Standard_Integer theLower, \
const Standard_Integer theUpper, \
const _Array1Type_::value_type& theValue) : \
_Array1Type_ (theLower,theUpper) { Init (theValue); } \
HClassName (const _Array1Type_& theOther) : _Array1Type_(theOther) {} \
const _Array1Type_& Array1 () const { return *this; } \
_Array1Type_& ChangeArray1 () { return *this; } \
DEFINE_STANDARD_RTTI_INLINE(HClassName,MMgt_TShared) \
}; \
DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem)
Intermediate class between Standard_Transient and descendants. The abstract class TShared is the root...
Definition: MMgt_TShared.hxx:51
int Standard_Integer
Definition: Standard_TypeDef.hxx:59
#define IMPLEMENT_HARRAY1 (   HClassName)