HL::ChunkHeap< ChunkSize, SuperHeap > Class Template Reference

#include <chunkheap.h>

Inheritance diagram for HL::ChunkHeap< ChunkSize, SuperHeap >:
SuperHeap

List of all members.

Public Member Functions

 ChunkHeap (void)
void * malloc (const size_t sz)
void clear (void)

Private Member Functions

int remove (void *)
void * getMoreMemory (size_t sz)

Private Attributes

char * buffer
 The current allocation buffer.
char * eob
 The end of the buffer.

template<int ChunkSize, class SuperHeap>
class HL::ChunkHeap< ChunkSize, SuperHeap >


Constructor & Destructor Documentation

template<int ChunkSize, class SuperHeap >
HL::ChunkHeap< ChunkSize, SuperHeap >::ChunkHeap ( void   )  [inline]

Member Function Documentation

template<int ChunkSize, class SuperHeap >
void HL::ChunkHeap< ChunkSize, SuperHeap >::clear ( void   )  [inline]
template<int ChunkSize, class SuperHeap >
void* HL::ChunkHeap< ChunkSize, SuperHeap >::getMoreMemory ( size_t  sz  )  [inline, private]
template<int ChunkSize, class SuperHeap >
void* HL::ChunkHeap< ChunkSize, SuperHeap >::malloc ( const size_t  sz  )  [inline]
template<int ChunkSize, class SuperHeap >
int HL::ChunkHeap< ChunkSize, SuperHeap >::remove ( void *   )  [inline, private]

Member Data Documentation

template<int ChunkSize, class SuperHeap >
char* HL::ChunkHeap< ChunkSize, SuperHeap >::buffer [private]

The current allocation buffer.

template<int ChunkSize, class SuperHeap >
char* HL::ChunkHeap< ChunkSize, SuperHeap >::eob [private]

The end of the buffer.


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:30 2011 for Galois by  doxygen 1.6.3