Open CASCADE Technology  7.6.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

◆ findV()

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

◆ DataPtr

void* NCollection_BaseVector::MemBlock::DataPtr

block of elements

◆ FirstIndex

Standard_Integer NCollection_BaseVector::MemBlock::FirstIndex

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

◆ Length

Standard_Integer NCollection_BaseVector::MemBlock::Length

◆ Size

Standard_Integer NCollection_BaseVector::MemBlock::Size

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