CrystalSpace

Public API Reference

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

csSparseGrid Class Reference
[Grid]

If cells are populated with data or components, we need to store this somewhere and thats what the SparseGrid is for. More...

#include <csgrid.h>

List of all members.

Public Methods

 csSparseGrid ()
 Initialize an empty sparse grid object.

void * GetAt (int row, int col)
 Get the data at given row/column.


Detailed Description

If cells are populated with data or components, we need to store this somewhere and thats what the SparseGrid is for.

Definition at line 93 of file csgrid.h.


Constructor & Destructor Documentation

csSparseGrid::csSparseGrid   [inline]
 

Initialize an empty sparse grid object.

Definition at line 147 of file csgrid.h.


Member Function Documentation

void* csSparseGrid::GetAt int    row,
int    col
[inline]
 

Get the data at given row/column.

Definition at line 150 of file csgrid.h.

References csArray< csGridRowEntry *, csPDelArrayElementHandler< csGridRowEntry * > >::FindSortedKey(), and csArray< csGridRowEntry *, csPDelArrayElementHandler< csGridRowEntry * > >::Get().


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.18