cgma
|
#include <VariableArray.hpp>
Public Member Functions | |
VariableArray (size_t rowWidth) | |
~VariableArray () | |
T & | getItem (size_t rowNumber, size_t columnNumber) |
void | addRow (const std::vector< T > &newRow) |
std::pair< int, int > | getSize () |
Private Member Functions | |
VariableArray () | |
VariableArray (VariableArray const &) | |
Private Attributes | |
size_t | _rowWidth |
T | mNan |
Definition at line 18 of file VariableArray.hpp.
VariableArray< T >::VariableArray | ( | size_t | rowWidth | ) | [inline] |
Definition at line 21 of file VariableArray.hpp.
VariableArray< T >::~VariableArray | ( | ) | [inline] |
Definition at line 23 of file VariableArray.hpp.
{}
VariableArray< T >::VariableArray | ( | ) | [private] |
VariableArray< T >::VariableArray | ( | VariableArray< T > const & | ) | [private] |
void VariableArray< T >::addRow | ( | const std::vector< T > & | newRow | ) | [inline] |
Definition at line 33 of file VariableArray.hpp.
{ this->push_back(newRow) ; }
T& VariableArray< T >::getItem | ( | size_t | rowNumber, |
size_t | columnNumber | ||
) | [inline] |
Definition at line 25 of file VariableArray.hpp.
std::pair<int, int> VariableArray< T >::getSize | ( | ) | [inline] |
Definition at line 38 of file VariableArray.hpp.
{ return std::make_pair(this->size(), _rowWidth) ; }
size_t VariableArray< T >::_rowWidth [private] |
Definition at line 48 of file VariableArray.hpp.
T VariableArray< T >::mNan [private] |
Definition at line 49 of file VariableArray.hpp.