Open CASCADE Technology  7.2.0
Macros
NCollection_DefineHArray2.hxx File Reference
#include <Standard_Type.hxx>
#include <NCollection_DefineArray2.hxx>
#include <Standard_Transient.hxx>

Macros

#define DEFINE_HARRAY2(HClassName, _Array2Type_)
 
#define IMPLEMENT_HARRAY2(HClassName)
 

Macro Definition Documentation

#define DEFINE_HARRAY2 (   HClassName,
  _Array2Type_ 
)
Value:
class HClassName : public _Array2Type_, public Standard_Transient { \
public: \
DEFINE_STANDARD_ALLOC \
DEFINE_NCOLLECTION_ALLOC \
HClassName (const Standard_Integer theRowLow, \
const Standard_Integer theRowUpp, \
const Standard_Integer theColLow, \
const Standard_Integer theColUpp) : \
_Array2Type_ (theRowLow, theRowUpp, theColLow, theColUpp) {} \
HClassName (const Standard_Integer theRowLow, \
const Standard_Integer theRowUpp, \
const Standard_Integer theColLow, \
const Standard_Integer theColUpp, \
const _Array2Type_::value_type& theValue) : \
_Array2Type_ (theRowLow, theRowUpp, theColLow, theColUpp) \
{ Init (theValue); } \
HClassName (const _Array2Type_& theOther) : _Array2Type_(theOther) {} \
const _Array2Type_& Array2 () const { return *this; } \
_Array2Type_& ChangeArray2 () { return *this; } \
}; \
Abstract class which forms the root of the entire Transient class hierarchy.
Definition: Standard_Transient.hxx:31
DEFINE_STANDARD_HANDLE(StepVisual_TessellatedCurveSet, StepVisual_TessellatedItem)
int Standard_Integer
Definition: Standard_TypeDef.hxx:54
#define DEFINE_STANDARD_RTTI_INLINE(Class, Base)
Helper macro to be included in definition of the classes inheriting Standard_Transient to enable use ...
Definition: Standard_Type.hxx:79
#define IMPLEMENT_HARRAY2 (   HClassName)