Open CASCADE Technology
6.5.4
|
Nested class MemBlock.
#include <NCollection_Vector.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | MemBlock (NCollection_BaseAllocator *theAlloc) |
Empty constructor. | |
MemBlock (const Standard_Integer theFirstInd, const Standard_Integer theSize, NCollection_BaseAllocator *theAlloc) | |
Constructor. | |
MemBlock (const MemBlock &theOther) | |
Copy constructor. | |
virtual void | Reinit (const Standard_Integer theFirst, const Standard_Integer theSize) |
Reinit. | |
virtual | ~MemBlock () |
Destructor. | |
const TheItemType & | Value (const Standard_Integer theIndex) const |
Operator () const. | |
TheItemType & | ChangeValue (const Standard_Integer theIndex) |
Operator () | |
Standard_Integer | GetIndex (const TheItemType &theItem) const |
GetIndex. |
DEFINE_STANDARD_ALLOC NCollection_Vector< TheItemType >::MemBlock::MemBlock | ( | NCollection_BaseAllocator * | theAlloc | ) | [inline] |
Reimplemented from NCollection_BaseVector::MemBlock.
NCollection_Vector< TheItemType >::MemBlock::MemBlock | ( | const Standard_Integer | theFirstInd, |
const Standard_Integer | theSize, | ||
NCollection_BaseAllocator * | theAlloc | ||
) | [inline] |
Reimplemented from NCollection_BaseVector::MemBlock.
NCollection_Vector< TheItemType >::MemBlock::MemBlock | ( | const MemBlock & | theOther | ) | [inline] |
virtual NCollection_Vector< TheItemType >::MemBlock::~MemBlock | ( | ) | [inline, virtual] |
Reimplemented from NCollection_BaseVector::MemBlock.
TheItemType& NCollection_Vector< TheItemType >::MemBlock::ChangeValue | ( | const Standard_Integer | theIndex | ) | [inline] |
Standard_Integer NCollection_Vector< TheItemType >::MemBlock::GetIndex | ( | const TheItemType & | theItem | ) | const [inline] |
virtual void NCollection_Vector< TheItemType >::MemBlock::Reinit | ( | const Standard_Integer | theFirst, |
const Standard_Integer | theSize | ||
) | [inline, virtual] |
Reimplemented from NCollection_BaseVector::MemBlock.
const TheItemType& NCollection_Vector< TheItemType >::MemBlock::Value | ( | const Standard_Integer | theIndex | ) | const [inline] |