CoCoALib-0.9905 date: 23 May 2007


CoCoA::AutoPtrSlice Class Reference

#include <MemPool.H>

Collaboration diagram for CoCoA::AutoPtrSlice:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AutoPtrSlice (MemPoolFast *MemMgr, void *ptr)
 AutoPtrSlice (const AutoPtrSlice &copy)
AutoPtrSliceoperator= (const AutoPtrSlice &rhs)
 ~AutoPtrSlice ()
void * myPtr () const
void * myRelease ()

Private Attributes

MemPoolFastmyMemMgr
void * mySlicePtr

Detailed Description

Definition at line 36 of file MemPool.H.


Constructor & Destructor Documentation

CoCoA::AutoPtrSlice::AutoPtrSlice MemPoolFast MemMgr,
void *  ptr
[inline]
 

Definition at line 97 of file MemPool.H.

CoCoA::AutoPtrSlice::AutoPtrSlice const AutoPtrSlice copy  )  [inline]
 

Definition at line 103 of file MemPool.H.

References mySlicePtr.

CoCoA::AutoPtrSlice::~AutoPtrSlice  )  [inline]
 

Definition at line 111 of file MemPool.H.

References CoCoA::MemPoolFast::free(), myMemMgr, and mySlicePtr.


Member Function Documentation

AutoPtrSlice& CoCoA::AutoPtrSlice::operator= const AutoPtrSlice rhs  ) 
 

void * CoCoA::AutoPtrSlice::myPtr  )  const [inline]
 

Definition at line 117 of file MemPool.H.

References mySlicePtr.

void * CoCoA::AutoPtrSlice::myRelease  )  [inline]
 

Definition at line 123 of file MemPool.H.

References mySlicePtr.


Member Data Documentation

MemPoolFast* CoCoA::AutoPtrSlice::myMemMgr [private]
 

Definition at line 46 of file MemPool.H.

Referenced by ~AutoPtrSlice().

void* CoCoA::AutoPtrSlice::mySlicePtr [mutable, private]
 

Definition at line 47 of file MemPool.H.

Referenced by AutoPtrSlice(), myPtr(), myRelease(), and ~AutoPtrSlice().


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:30 2007 for CoCoALib by  doxygen 1.4.6