Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

oofArray Class Reference

#include <oofarray.h>

Collaboration diagram for oofArray:

Collaboration graph
[legend]
List of all members.

Public Methods

 oofArray (unsigned long slotSize, unsigned long numSlots=0, unsigned int expandBySlots=4)
 oofArray (const oofArray &rhs)
virtual ~oofArray ()
oofArray & operator= (const oofArray &)
void start ()
bool more () const
void next ()
unsigned long count () const

Protected Methods

unsigned long AllocSlot ()
void ExpandToInclude (unsigned long indexToCover)
virtual char * AllocBits (unsigned long) const=0
virtual void DeleteBits (bool becauseExpanding)=0
virtual char * CloneBits () const

Protected Attributes

void ** mUserStorage
char * mBits
unsigned long mNextFreeEntry
unsigned long mNumSlots
unsigned long mInternalIter
unsigned long mSlotSize
unsigned int mExpansionChunk

Constructor & Destructor Documentation

oofArray::oofArray unsigned long    slotSize,
unsigned long    numSlots = 0,
unsigned int    expandBySlots = 4
 

oofArray::oofArray const oofArray &    rhs
 

oofArray::~oofArray   [virtual]
 


Member Function Documentation

virtual char* oofArray::AllocBits unsigned    long const [protected, pure virtual]
 

unsigned long oofArray::AllocSlot   [protected]
 

char * oofArray::CloneBits   const [protected, virtual]
 

unsigned long oofArray::count   const [inline]
 

virtual void oofArray::DeleteBits bool    becauseExpanding [protected, pure virtual]
 

void oofArray::ExpandToInclude unsigned long    indexToCover [protected]
 

bool oofArray::more   const [inline]
 

void oofArray::next   [inline]
 

oofArray & oofArray::operator= const oofArray &   
 

void oofArray::start   [inline]
 


Member Data Documentation

char* oofArray::mBits [protected]
 

unsigned int oofArray::mExpansionChunk [protected]
 

unsigned long oofArray::mInternalIter [protected]
 

unsigned long oofArray::mNextFreeEntry [protected]
 

unsigned long oofArray::mNumSlots [protected]
 

unsigned long oofArray::mSlotSize [protected]
 

void** oofArray::mUserStorage [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Jul 22 18:21:54 2002 for PP2MFC by doxygen1.2.17