#include <NCollection_BaseVector.hxx>
Inheritance diagram for NCollection_BaseVector:

Public Member Functions | |
| Standard_Integer | Length () const |
| Total number of items. | |
| Standard_EXPORT void | Clear () |
| Empty the vector of its objects. | |
Protected Types | |
| typedef MemBlock *(* | FuncPtrDataInit )(const Standard_Integer aCapacity, const void *aSource, const Standard_Integer aSize) |
| typedef void(* | FuncPtrDataFree )(MemBlock *) |
Protected Member Functions | |
| NCollection_BaseVector (const size_t theSize, const Standard_Integer theInc, FuncPtrDataInit theDataInit, FuncPtrDataFree theDataFree) | |
| Empty constructor. | |
| NCollection_BaseVector (const NCollection_BaseVector &theOther, FuncPtrDataInit theDataInit, FuncPtrDataFree theDataFree) | |
| Copy constructor. | |
| Standard_EXPORT | ~NCollection_BaseVector () |
| Destructor. | |
| Standard_EXPORT NCollection_BaseVector & | operator= (const NCollection_BaseVector &) |
| Operator =. | |
| Standard_EXPORT void * | ExpandV (const Standard_Integer theIndex) |
| ExpandV: returns pointer to memory where to put the new item. | |
| void * | Find (const Standard_Integer theIndex) const |
| Find: locate the memory holding the desired value. | |
Protected Attributes | |
| size_t | myItemSize |
| Standard_Integer | myIncrement |
| Standard_Integer | myLength |
| Standard_Integer | myCapacity |
| Standard_Integer | myNBlocks |
| MemBlock * | myData |
| FuncPtrDataInit | myDataInit |
| FuncPtrDataFree | myDataFree |
Data Structures | |
| class | Iterator |
| class | MemBlock |
|
|
|
|
|
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1