ezEngine  Milestone 7
ezBlockStorage< T, BlockSizeInByte, CompactStorage > Class Template Reference

Classes

class  ConstIterator
 
struct  Entry
 
class  Iterator
 

Public Member Functions

 ezBlockStorage (ezLargeBlockAllocator< BlockSizeInByte > *pBlockAllocator, ezAllocatorBase *pAllocator)
 
Entry Create ()
 
void Delete (Entry entry)
 
void Delete (Entry entry, T *&out_pMovedObject)
 
ezUInt32 GetCount () const
 
Iterator GetIterator (ezUInt32 uiStartIndex=0, ezUInt32 uiCount=ezInvalidIndex)
 
ConstIterator GetIterator (ezUInt32 uiStartIndex=0, ezUInt32 uiCount=ezInvalidIndex) const
 

Private Attributes

ezLargeBlockAllocator
< BlockSizeInByte > * 
m_pBlockAllocator
 
ezDynamicArray< ezDataBlock< T,
BlockSizeInByte > > 
m_Blocks
 
ezUInt32 m_uiCount
 
ezUInt32 m_uiFreelistStart
 
ezDynamicBitfield m_UsedEntries
 

The documentation for this class was generated from the following files: