AutoHeapPtr Class Reference

#include <Common.h>

List of all members.

Public Member Functions

 AutoHeapPtr ()
 ~AutoHeapPtr ()
unsigned char * Alloc (unsigned long nBytes)
void Free ()

Private Member Functions

 AutoHeapPtr (const AutoHeapPtr &)
AutoHeapPtroperator= (const AutoHeapPtr &)

Private Attributes

unsigned char * mpData


Constructor & Destructor Documentation

AutoHeapPtr::AutoHeapPtr  )  [inline]
 

Definition at line 182 of file Common.h.

AutoHeapPtr::~AutoHeapPtr  )  [inline]
 

Definition at line 191 of file Common.h.

References Free().

AutoHeapPtr::AutoHeapPtr const AutoHeapPtr  )  [private]
 


Member Function Documentation

unsigned char* AutoHeapPtr::Alloc unsigned long  nBytes  )  [inline]
 

Definition at line 196 of file Common.h.

References Free(), and mpData.

Referenced by TrueRand::GenRand::GetTempPointer().

void AutoHeapPtr::Free  )  [inline]
 

Definition at line 210 of file Common.h.

References mpData, and USED.

Referenced by Alloc(), and ~AutoHeapPtr().

AutoHeapPtr& AutoHeapPtr::operator= const AutoHeapPtr  )  [private]
 


Member Data Documentation

unsigned char* AutoHeapPtr::mpData [private]
 

Definition at line 238 of file Common.h.

Referenced by Alloc(), and Free().


The documentation for this class was generated from the following file:
Generated on Fri May 13 16:32:36 2005 for Screaming Racers by  doxygen 1.4.2