ObstackReap< ReapType > Class Template Reference

#include <obstackreap.h>

List of all members.

Public Member Functions

 ObstackReap (void)
 ~ObstackReap (void)
void * malloc (size_t sz)
void freeAfter (void *ptr)
void freeAll (void)
void * getObjectBase (void)
void finalize (void)
void * grow (size_t sz)

Private Types

enum  { INITIAL_OBJECT_SIZE = 8 * sizeof(double) }

Private Member Functions

void initCurrentObject (void)
void free (void *)

Private Attributes

void * currentObject
char * currentObjectPosition
size_t currentObjectSize
size_t actualObjectSize
bool isCurrentObjectExposed
ReapType * currentReap
ObstackReapNS::DynStack< ReapType > reapStack

template<class ReapType>
class ObstackReap< ReapType >


Member Enumeration Documentation

template<class ReapType >
anonymous enum [private]
Enumerator:
INITIAL_OBJECT_SIZE 

Constructor & Destructor Documentation

template<class ReapType >
ObstackReap< ReapType >::ObstackReap ( void   )  [inline]
template<class ReapType >
ObstackReap< ReapType >::~ObstackReap ( void   )  [inline]

Member Function Documentation

template<class ReapType >
void ObstackReap< ReapType >::finalize ( void   )  [inline]
template<class ReapType >
void ObstackReap< ReapType >::free ( void *   )  [private]
template<class ReapType >
void ObstackReap< ReapType >::freeAfter ( void *  ptr  )  [inline]
template<class ReapType >
void ObstackReap< ReapType >::freeAll ( void   )  [inline]
template<class ReapType >
void * ObstackReap< ReapType >::getObjectBase ( void   )  [inline]
template<class ReapType >
void * ObstackReap< ReapType >::grow ( size_t  sz  )  [inline]
template<class ReapType >
void ObstackReap< ReapType >::initCurrentObject ( void   )  [inline, private]
template<class ReapType >
void * ObstackReap< ReapType >::malloc ( size_t  sz  )  [inline]

Member Data Documentation

template<class ReapType >
size_t ObstackReap< ReapType >::actualObjectSize [private]
template<class ReapType >
void* ObstackReap< ReapType >::currentObject [private]
template<class ReapType >
char* ObstackReap< ReapType >::currentObjectPosition [private]
template<class ReapType >
size_t ObstackReap< ReapType >::currentObjectSize [private]
template<class ReapType >
ReapType* ObstackReap< ReapType >::currentReap [private]
template<class ReapType >
bool ObstackReap< ReapType >::isCurrentObjectExposed [private]
template<class ReapType >
ObstackReapNS::DynStack<ReapType> ObstackReap< ReapType >::reapStack [private]

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