HL::StaticHeap< MemorySize > Class Template Reference

#include <staticheap.h>

List of all members.

Public Types

enum  { Alignment = 1 }

Public Member Functions

 StaticHeap (void)
void * malloc (size_t sz)
void free (void *)
int remove (void *)
int isValid (void *ptr)

Private Member Functions

 StaticHeap (const StaticHeap &treap)
StaticHeapoperator= (const StaticHeap &treap)

Private Attributes

char buf [MemorySize]
char * ptr
size_t remaining

template<int MemorySize>
class HL::StaticHeap< MemorySize >


Member Enumeration Documentation

template<int MemorySize>
anonymous enum
Enumerator:
Alignment 

Constructor & Destructor Documentation

template<int MemorySize>
HL::StaticHeap< MemorySize >::StaticHeap ( void   )  [inline]
template<int MemorySize>
HL::StaticHeap< MemorySize >::StaticHeap ( const StaticHeap< MemorySize > &  treap  )  [private]

Member Function Documentation

template<int MemorySize>
void HL::StaticHeap< MemorySize >::free ( void *   )  [inline]
template<int MemorySize>
int HL::StaticHeap< MemorySize >::isValid ( void *  ptr  )  [inline]
template<int MemorySize>
void* HL::StaticHeap< MemorySize >::malloc ( size_t  sz  )  [inline]
template<int MemorySize>
StaticHeap& HL::StaticHeap< MemorySize >::operator= ( const StaticHeap< MemorySize > &  treap  )  [private]
template<int MemorySize>
int HL::StaticHeap< MemorySize >::remove ( void *   )  [inline]

Member Data Documentation

template<int MemorySize>
char HL::StaticHeap< MemorySize >::buf[MemorySize] [private]
template<int MemorySize>
char* HL::StaticHeap< MemorySize >::ptr [private]
template<int MemorySize>
size_t HL::StaticHeap< MemorySize >::remaining [private]

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