Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
NCollection_Vector< TheItemType >::MemBlock Class Reference

Nested class MemBlock.

#include <NCollection_Vector.hxx>

Inheritance diagram for NCollection_Vector< TheItemType >::MemBlock:
Inheritance graph
[legend]

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.

template<class TheItemType>
class NCollection_Vector< TheItemType >::MemBlock


Constructor & Destructor Documentation

template<class TheItemType>
DEFINE_STANDARD_ALLOC NCollection_Vector< TheItemType >::MemBlock::MemBlock ( NCollection_BaseAllocator theAlloc) [inline]

Reimplemented from NCollection_BaseVector::MemBlock.

template<class TheItemType>
NCollection_Vector< TheItemType >::MemBlock::MemBlock ( const Standard_Integer  theFirstInd,
const Standard_Integer  theSize,
NCollection_BaseAllocator theAlloc 
) [inline]

Reimplemented from NCollection_BaseVector::MemBlock.

template<class TheItemType>
NCollection_Vector< TheItemType >::MemBlock::MemBlock ( const MemBlock theOther) [inline]
template<class TheItemType>
virtual NCollection_Vector< TheItemType >::MemBlock::~MemBlock ( ) [inline, virtual]

Reimplemented from NCollection_BaseVector::MemBlock.


Member Function Documentation

template<class TheItemType>
TheItemType& NCollection_Vector< TheItemType >::MemBlock::ChangeValue ( const Standard_Integer  theIndex) [inline]
template<class TheItemType>
Standard_Integer NCollection_Vector< TheItemType >::MemBlock::GetIndex ( const TheItemType &  theItem) const [inline]
template<class TheItemType>
virtual void NCollection_Vector< TheItemType >::MemBlock::Reinit ( const Standard_Integer  theFirst,
const Standard_Integer  theSize 
) [inline, virtual]

Reimplemented from NCollection_BaseVector::MemBlock.

template<class TheItemType>
const TheItemType& NCollection_Vector< TheItemType >::MemBlock::Value ( const Standard_Integer  theIndex) const [inline]

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