25 #ifndef UQ_ASCII_TABLE_H 
   26 #define UQ_ASCII_TABLE_H 
   28 #include <queso/Environment.h> 
   29 #include <queso/DistArray.h> 
   30 #include <queso/Map.h> 
   31 #include <queso/Miscellaneous.h> 
   41 template <
class V, 
class M>
 
   52                           unsigned int            numExtraCols,
 
   53                     const std::vector<bool>*      extraColIsString,
 
   54                     const std::string&            fileName);
 
   76   void                                 print       (std::ostream& os) 
const;
 
   97 #endif // UQ_ASCII_TABLE_H 
std::vector< bool > m_colIsString
 
const DistArray< std::string > & stringColumn(unsigned int j) const 
Returns the string stored in column j. 
 
void print(std::ostream &os) const 
Prints the table. 
 
unsigned int numRows() const 
Returns the number of rows in the table. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
A class for partitioning vectors and matrices. 
 
const BaseEnvironment & m_env
 
std::vector< DistArray< std::string > * > m_stringColumns
 
const V & doubleColumn(unsigned int j) const 
Returns the value (double) stored in column j. 
 
AsciiTable(const BaseEnvironment &env, unsigned int numRows, unsigned int numExtraCols, const std::vector< bool > *extraColIsString, const std::string &fileName)
Default constructor. 
 
Class for reading ASCII values from a table in a file. 
 
std::vector< V * > m_doubleColumns
 
unsigned int numCols() const 
Returns the number of columns in the table. 
 
void readColumnsFromFile()