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

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

Member Function Documentation

AlignedPtr NCollection_AccAllocator::Block::Allocate ( const AlignedSize  theSize)
inline
void NCollection_AccAllocator::Block::Free ( )
inline
Standard_Size NCollection_AccAllocator::Block::FreeSize ( ) const
inline
Standard_Boolean NCollection_AccAllocator::Block::IsEmpty ( ) const
inline
void NCollection_AccAllocator::Block::SetFreeSize ( const Standard_Size  theSize)
inline

Field Documentation

Standard_Address NCollection_AccAllocator::Block::address
Standard_Integer NCollection_AccAllocator::Block::allocCount
AlignedPtr NCollection_AccAllocator::Block::allocStart
Block* NCollection_AccAllocator::Block::prevBlock

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