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 
TwoDArray(unsigned int numRows, unsigned int numCols)
Default constructor. 
 
Class for handling arrays of generic data. 
 
unsigned int numCols() const 
Number of columns in the array. 
 
std::vector< std::vector< T * > * > m_data
 
unsigned int numRows() const 
Number of rows in the array. 
 
T & operator()(unsigned int i, unsigned int j)
Returns data stored in a specific location (non-const). 
 
void setLocation(unsigned int i, unsigned int j, T *info)
Sets the data in a specific location.