Open CASCADE Technology 6.5.2
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 size_t theLen)
size_t 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 size_t)
Standard_Integer FirstIndex () const
size_t Size () const

Protected Attributes

Standard_Integer myFirstInd
size_t myLength
size_t mySize
NCollection_BaseAllocatormyAlloc
void * myData

Constructor & Destructor Documentation

NCollection_BaseVector::MemBlock::MemBlock ( NCollection_BaseAllocator theAlloc) [inline, protected]
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]
Standard_Integer NCollection_BaseVector::MemBlock::FirstIndex ( ) const [inline, protected]
Standard_Integer NCollection_BaseVector::MemBlock::GetIndexV ( void *  theItem,
const size_t  theSz 
) const
size_t NCollection_BaseVector::MemBlock::Length ( void  ) const [inline]
virtual void NCollection_BaseVector::MemBlock::Reinit ( const Standard_Integer  ,
const size_t   
) [inline, protected, virtual]
void NCollection_BaseVector::MemBlock::SetLength ( const size_t  theLen) [inline]
size_t NCollection_BaseVector::MemBlock::Size ( ) const [inline, protected]

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines