Open CASCADE Technology: NCollection_DefineHArray2.hxx File Reference

Open CASCADE Technology 6.9.1

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- File List
- Globals

Macros
NCollection_DefineHArray2.hxx File Reference
`#include <Standard_DefineHandle.hxx>`
`#include <NCollection_DefineArray2.hxx>`
`#include <MMgt_TShared.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 MMgt_TShared { \
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; } \
DEFINE_STANDARD_RTTI (HClassName) \
}; \
DEFINE_STANDARD_HANDLE (HClassName, MMgt_TShared)
MMgt_TShared
Intermediate class between Standard_Transient and descendants. The abstract class TShared is the root...
Definition: MMgt_TShared.hxx:38
DEFINE_STANDARD_HANDLE
#define DEFINE_STANDARD_HANDLE(C1, C2)
Definition: Standard_DefineHandle.hxx:81
Standard_Integer
int Standard_Integer
Definition: Standard_TypeDef.hxx:59

#define IMPLEMENT_HARRAY2 | ( |  | HClassName | ) |

Value:
IMPLEMENT_STANDARD_HANDLE (HClassName, MMgt_TShared) \
IMPLEMENT_STANDARD_RTTIEXT (HClassName, MMgt_TShared)
MMgt_TShared
Intermediate class between Standard_Transient and descendants. The abstract class TShared is the root...
Definition: MMgt_TShared.hxx:38
IMPLEMENT_STANDARD_RTTIEXT
#define IMPLEMENT_STANDARD_RTTIEXT(C1, C2)
Definition: Standard_DefineHandle.hxx:127
IMPLEMENT_STANDARD_HANDLE
#define IMPLEMENT_STANDARD_HANDLE(C1, C2)
Definition: Standard_DefineHandle.hxx:83