LZW Compressor
 All Classes Files Functions Typedefs
FSBAllocator2_ElemAllocator< ElemSize > Class Template Reference

Classes

struct  Blocks
 

Static Public Member Functions

static void * allocate ()
 
static void deallocate (void *ptr)
 
static void cleanSweep (std::size_t unusedValue=std::size_t(-1))
 

Static Private Member Functions

static void freeAll ()
 

Static Private Attributes

static const std::size_t BlockElements = 1024
 
static const std::size_t DSize = sizeof(std::size_t)
 
static const std::size_t ElemSizeInDSize = (ElemSize + (DSize-1)) / DSize
 
static const std::size_t BlockSize = BlockElements*ElemSizeInDSize
 
static Blocks blocks
 
static std::size_t headIndex = 0
 
static std::size_t * freeList = 0
 
static std::size_t allocatedElementsAmount = 0
 

Detailed Description

template<unsigned ElemSize>
class FSBAllocator2_ElemAllocator< ElemSize >

Definition at line 267 of file FSBAllocator.hh.


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