Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Pool Class Reference

#include <Pool.H>

Collaboration diagram for Pool:

Collaboration graph
[legend]
List of all members.

Public Methods

 Pool (int ptrSize, const char *name="unnamed", int poolSize=100, int alignment=sizeof(int))
 ~Pool ()
void * getPtr ()
void returnPtr (void *ptr)
long memUsage () const
void clear ()

Public Attributes

char name_ [64]

Static Public Attributes

PoolList * poolList_

Constructor & Destructor Documentation

Pool::Pool (  int    ptrSize,
const char *    name = "unnamed",
int    poolSize = 100,
int    alignment = sizeof(int)
) 
 

Pool::~Pool (    ) 
 


Member Function Documentation

void Pool::clear (    ) 
 

void* Pool::getPtr (    ) 
 

long Pool::memUsage (    )  const
 

void Pool::returnPtr (  void *    ptr ) 
 


Member Data Documentation

char Pool::name_[64]
 

PoolList* Pool::poolList_ [static]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 29 11:07:47 2002 for Chombo&INS by doxygen1.2.16