SparseArray Class Template Reference

#include <sparsearray.h>

Inherited by SparseMatrix.

Inheritance diagram for SparseArray:

Inheritance graph
[legend]
Collaboration diagram for SparseArray:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SparseArray (I arraySize)
virtual ~SparseArray ()
virtual void reallocate (I arraySize)
virtual I size ()
ArrayElementoperator[] (const I index)
virtual long getRealSize ()
 sets the data (row-wise).

Protected Member Functions

virtual void allocate ()
virtual void freeData ()

Protected Attributes

ArrayElement elementDummy
I arraySize
 set of all array values
__gnu_cxx::hash_map< I, D * > * hashData

Classes

class  ArrayElement

template<typename I, typename D>
class matrix::SparseArray< I, D >


Constructor & Destructor Documentation

SparseArray ( I  arraySize  )  [inline]

virtual ~SparseArray (  )  [inline, virtual]


Member Function Documentation

virtual void allocate (  )  [inline, protected, virtual]

virtual void freeData (  )  [inline, protected, virtual]

virtual long getRealSize (  )  [inline, virtual]

sets the data (row-wise).

Parameters:
_data if null then matrix elements are set to zero otherwise the field MUST have the length should be getSize()

ArrayElement& operator[] ( const I  index  )  [inline]

virtual void reallocate ( I  arraySize  )  [inline, virtual]

virtual I size (  )  [inline, virtual]


Member Data Documentation

I arraySize [protected]

set of all array values

ArrayElement elementDummy [protected]

__gnu_cxx::hash_map<I, D* >* hashData [protected]


The documentation for this class was generated from the following file:
Generated on Fri Oct 30 16:29:04 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7