Class NCollection_BaseVector - base for NCollection_Vector template.
More...
#include <NCollection_BaseVector.hxx>
◆ initMemBlocks_t
Allocate memory for array of memory blocks.
- Parameters
-
theCapacity | Number of memory blocks in array |
theSource | Original array of memory blocks, will be automatically deallocated |
theSourceSize | Number of memory blocks in original array |
◆ NCollection_BaseVector() [1/2]
◆ NCollection_BaseVector() [2/2]
◆ ~NCollection_BaseVector()
virtual NCollection_BaseVector::~NCollection_BaseVector |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ Allocator()
Returns attached allocator.
◆ allocMemBlocks()
Allocate memory for array of memory blocks.
- Parameters
-
theCapacity | Number of memory blocks in array |
theSource | Original array of memory blocks, will be automatically deallocated |
theSourceSize | Number of memory blocks in original array |
◆ Clear()
void NCollection_BaseVector::Clear |
( |
| ) |
|
Empty the vector of its objects.
◆ expandV()
- Returns
- pointer to memory where to put the new item
◆ findV()
Locate the memory holding the desired value.
◆ SetIncrement()
Empty the vector of its objects.
◆ myAllocator
◆ myCapacity
◆ myData
MemBlock* NCollection_BaseVector::myData |
|
protected |
◆ myIncrement
◆ myInitBlocks
◆ myItemSize
size_t NCollection_BaseVector::myItemSize |
|
protected |
◆ myLength
◆ myNBlocks
The documentation for this class was generated from the following file: