Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Protected Attributes
NCollection_BaseVector::MemBlock Class Reference

#include <NCollection_BaseVector.hxx>

Inheritance diagram for NCollection_BaseVector::MemBlock:
Inheritance graph
[legend]

Public Member Functions

virtual ~MemBlock ()
void SetLength (const Standard_Integer theLen)
Standard_Integer Length () const
voidFind (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_BaseAllocatormyAlloc
voidmyData
Standard_Integer myFirstInd
Standard_Integer myLength
Standard_Integer mySize

Constructor & Destructor Documentation

NCollection_BaseVector::MemBlock::MemBlock ( const Standard_Integer  theFirstInd,
const Standard_Integer  theLength,
NCollection_BaseAllocator theAlloc 
) [inline, protected]
virtual NCollection_BaseVector::MemBlock::~MemBlock ( ) [inline, virtual]

Member Function Documentation

void* NCollection_BaseVector::MemBlock::Find ( const Standard_Integer  theInd,
const size_t  theSize 
) const [inline]

Field Documentation


The documentation for this class was generated from the following file: