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

CSparseArray

Methods Index

Heritage
Description
Usage
Protected Data Members
Friend Class
Friend Classes
Public Methods
Constructor and Destructor Methods
Other Methods

CSparseArray


Heritage

Superclass: None

Subclasses: None


Description


Usage

Simply create and operate on the CSparseArray using the interface methods provided below.


Protected Data Members

RWHashDictionary* itsRows The array of rows
int itsRowNumber The row placeholder
int itsColNumber The column placeholder.
int itsLastCol Max column in sparse array.
int itsLastRow Max row in sparse array


Friend Classes

friend class CSparseArrayIterator;
friend class CSparseRowIterator;
friend class CSparseColIterator;


Public Methods

Constructor and Destructor Methods

CSparseArray(void);
CSparseArray(const CSparseArray& theSparseArray);
CSparseArray& operator=(
const CSparseArray& theSparseArray);
virtual ~CSparseArray(void);

Other Methods

virtual void Insert(RWCollectable *theItem, 
int theRow, int theCol);
virtual BOOLEAN Remove(RWCollectable *theItem);
virtual RWCollectable* Remove(int theRow, int theCol);
virtual void* GetContents(int theRow, 
int theCol) const;
virtual int GetNumRows(void) const;
virtual int GetNumCols(void) const;
virtual int GetNumEntries(void) const;
virtual void Clear(void);
void ShiftColumns(int theColumn, int theShift);


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

support@xvt.com


Visit our online help desk for tech support

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