Open CASCADE Technology  6.9.0
Public Member Functions | Data Fields

NCollection_BaseVector::MemBlock Struct Reference

Memory allocation. More...

#include <NCollection_BaseVector.hxx>

Public Member Functions

void * findV (const Standard_Integer theIndex, const size_t theItemSize) const
 

Data Fields

void * DataPtr
 block of elements More...
 
Standard_Integer FirstIndex
 index of the first element (among all memory blocks in collection) More...
 
Standard_Integer Length
 
Standard_Integer Size
 

Detailed Description

Memory allocation.

Member Function Documentation

void* NCollection_BaseVector::MemBlock::findV ( const Standard_Integer  theIndex,
const size_t  theItemSize 
) const
inline
Parameters
theIndexItem index in the block
theItemSizeElement size in bytes
Returns
the address of specified item in this memory block

Field Documentation

void* NCollection_BaseVector::MemBlock::DataPtr

block of elements

Standard_Integer NCollection_BaseVector::MemBlock::FirstIndex

index of the first element (among all memory blocks in collection)

Standard_Integer NCollection_BaseVector::MemBlock::Length
Standard_Integer NCollection_BaseVector::MemBlock::Size

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