Open CASCADE Technology  7.5.0
Public Member Functions | Data Fields

NCollection_AccAllocator::Block Struct Reference

Descriptor of a block. More...

#include <NCollection_AccAllocator.hxx>

Public Member Functions

 Block (const Standard_Address theAddress, const Standard_Size theSize, Block *thePrevBlock=0L)
 
void SetFreeSize (const Standard_Size theSize)
 
Standard_Size FreeSize () const
 
AlignedPtr Allocate (const AlignedSize theSize)
 
void Free ()
 
Standard_Boolean IsEmpty () const
 

Data Fields

Standard_Address address
 
AlignedPtr allocStart
 
BlockprevBlock
 
Standard_Integer allocCount
 

Detailed Description

Descriptor of a block.

Constructor & Destructor Documentation

◆ Block()

NCollection_AccAllocator::Block::Block ( const Standard_Address  theAddress,
const Standard_Size  theSize,
Block thePrevBlock = 0L 
)
inline

Member Function Documentation

◆ Allocate()

AlignedPtr NCollection_AccAllocator::Block::Allocate ( const AlignedSize  theSize)
inline

◆ Free()

void NCollection_AccAllocator::Block::Free ( )
inline

◆ FreeSize()

Standard_Size NCollection_AccAllocator::Block::FreeSize ( ) const
inline

◆ IsEmpty()

Standard_Boolean NCollection_AccAllocator::Block::IsEmpty ( ) const
inline

◆ SetFreeSize()

void NCollection_AccAllocator::Block::SetFreeSize ( const Standard_Size  theSize)
inline

Field Documentation

◆ address

Standard_Address NCollection_AccAllocator::Block::address

◆ allocCount

Standard_Integer NCollection_AccAllocator::Block::allocCount

◆ allocStart

AlignedPtr NCollection_AccAllocator::Block::allocStart

◆ prevBlock

Block* NCollection_AccAllocator::Block::prevBlock

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