Open CASCADE Technology
6.5.4
|
#include <NCollection_BaseVector.hxx>
Public Member Functions | |
virtual | ~MemBlock () |
void | SetLength (const Standard_Integer theLen) |
Standard_Integer | Length () const |
void * | Find (const Standard_Integer theInd, const size_t theSize) const |
Standard_Integer | GetIndexV (void *theItem, const size_t theSz) const |
Protected Member Functions | |
MemBlock (NCollection_BaseAllocator *theAlloc) | |
MemBlock (const Standard_Integer theFirstInd, const Standard_Integer theLength, NCollection_BaseAllocator *theAlloc) | |
virtual void | Reinit (const Standard_Integer, const Standard_Integer) |
Standard_Integer | FirstIndex () const |
Standard_Integer | Size () const |
Protected Attributes | |
NCollection_BaseAllocator * | myAlloc |
void * | myData |
Standard_Integer | myFirstInd |
Standard_Integer | myLength |
Standard_Integer | mySize |
NCollection_BaseVector::MemBlock::MemBlock | ( | NCollection_BaseAllocator * | theAlloc | ) | [inline, protected] |
Reimplemented in NCollection_Vector< TheItemType >::MemBlock.
NCollection_BaseVector::MemBlock::MemBlock | ( | const Standard_Integer | theFirstInd, |
const Standard_Integer | theLength, | ||
NCollection_BaseAllocator * | theAlloc | ||
) | [inline, protected] |
Reimplemented in NCollection_Vector< TheItemType >::MemBlock.
virtual NCollection_BaseVector::MemBlock::~MemBlock | ( | ) | [inline, virtual] |
Reimplemented in NCollection_Vector< TheItemType >::MemBlock.
void* NCollection_BaseVector::MemBlock::Find | ( | const Standard_Integer | theInd, |
const size_t | theSize | ||
) | const [inline] |
Standard_Integer NCollection_BaseVector::MemBlock::FirstIndex | ( | ) | const [inline, protected] |
Standard_Integer NCollection_BaseVector::MemBlock::GetIndexV | ( | void * | theItem, |
const size_t | theSz | ||
) | const |
Standard_Integer NCollection_BaseVector::MemBlock::Length | ( | void | ) | const [inline] |
virtual void NCollection_BaseVector::MemBlock::Reinit | ( | const Standard_Integer | , |
const Standard_Integer | |||
) | [inline, protected, virtual] |
Reimplemented in NCollection_Vector< TheItemType >::MemBlock.
void NCollection_BaseVector::MemBlock::SetLength | ( | const Standard_Integer | theLen | ) | [inline] |
Standard_Integer NCollection_BaseVector::MemBlock::Size | ( | ) | const [inline, protected] |
void* NCollection_BaseVector::MemBlock::myData [protected] |