| Methods Index |
Subclasses: None
CSparseArrayIterator is provided to iterate through the items in the CSparseArray in an efficient manner.
CSparseArrayIterator doto(theSparseArray)
while (item = CView* doto.Next()) { ... }
Protected Data Members
RWHashDictionaryIterator
*itsRowIt;
Iterates rows
RWHashDictionaryIterator
*itsColIt;
Iterates columns
Public Methods
Constructor and Destructor Methods
CSparseArrayIterator(
const CSparseArray *aSparseArray);
~CSparseArrayIterator(void);
RWCollectable* Next(int *theRow = NULL,
int *theCol = NULL);
NULL, theRow and theCol will contain the row and the column of the current object.
void Reset(void);
CSparseArrayIterator(
const CSparseArrayIterator& theIterator);
CSparseArrayIterator& operator= (
const CSparseArrayIterator& theIterator);