[Classes] [Prev] [Next] [Methods]

CSparseColIterator

Methods Index

Heritage
Description
Usage
Environment
Protected Data Members
Public Methods
Constructor and Destructor Methods
Other Methods
Protected Methods

CSparseColIterator


Heritage

Superclass: None

Subclasses: None


Description

The CSparseColIterator is provided to iterate through the columns in the CSparseArray in an efficient manner.


Usage

CSparseColIterator doTo(theSparseArray);

while (item = (CView&) doTo.Next())
{
... }

Environment

This class is used by the CGrid classes.


Protected Data Members

RWBinaryTree *sortedRows; The rows in sorted order
RWBinaryTreeIterator *rowIt; The iterator for rows
RWCollectableInt *theItColumn; Saves the RWInt to avoid constructor overhead in methods


Public Methods

Constructor and Destructor Methods

CSparseColIterator(
const CSparseArray* theSparseArray, int theCol);
~CSparseColIterator(void);

Other Methods

RWCollectable* Next(int* theRow = NULL);
void Reset(void);

Protected Methods

CSparseColIterator(
const CSparseColIterator& theIterator);
CSparseColIterator& operator= (
const CSparseColIterator& theIterator);


[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.