25 #ifndef UQ_2D_ARRAY_OF_STUFF_H
26 #define UQ_2D_ARRAY_OF_STUFF_H
62 void setLocation(
unsigned int i,
unsigned int j, T* info);
75 const T&
operator ()(
unsigned int i,
unsigned int j)
const;
81 std::vector<std::vector<T*>* >
m_data;
86 #endif // UQ_2D_ARRAY_OF_STUFF_H
void setLocation(unsigned int i, unsigned int j, T *info)
Sets the data in a specific location.
unsigned int numCols() const
Number of columns in the array.
unsigned int numRows() const
Number of rows in the array.
TwoDArray(unsigned int numRows, unsigned int numCols)
Default constructor.
std::vector< std::vector< T * > * > m_data
T & operator()(unsigned int i, unsigned int j)
Returns data stored in a specific location (non-const).
Class for handling arrays of generic data.