Organizes the results in the hashes from InOutParameters in a nice table. More...
#include <resultsTable.hh>


Classes | |
| struct | tableDelimTraits |
| Table delimiters. More... | |
Public Types | |
| enum | mapTypes { DOUBLE, STRING, INT, BOOL } |
| Types of maps in InOutParameters. More... | |
| enum | tableTypes { SCREEN, GNUPLOT, HTML } |
Public Member Functions | |
| void | addMap (enum mapTypes type, const char *name, const InOutParameters &holder) |
| template<enum tableTypes t> | |
| void | print (std::ostream &os, enum mapTypes typeL, const char *nameL) const |
| template<enum tableTypes t> | |
| void | print (std::ostream &os) const |
| ResultsTable () | |
| Constructor. | |
| ~ResultsTable () | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| template<enum tableTypes t> | |
| void | headline_ (std::ostream &os) const |
| template<enum tableTypes t> | |
| void | tableline_ (std::ostream &os, const int idx) const |
Private Attributes | |
| std::map< const char *, const std::map< int, bool > *, ltstr > | boolMaps_ |
| std::map< const char *, const std::map< int, double > *, ltstr > | doubleMaps_ |
| std::map< const char *, const std::map< int, int > *, ltstr > | intMaps_ |
| bool | leader_ |
| char * | nameL_ |
| std::map< const char *, const std::map< int, std::string > *, ltstr > | stringMaps_ |
| enum mapTypes | typeL_ |
Organizes the results in the hashes from InOutParameters in a nice table.
hpFEM2d.cc, hpFEM3d-EV.cc, inputoutput.cc, linearDG1d.cc, and linearFEM1d.cc.
Definition at line 21 of file resultsTable.hh.
Types of maps in InOutParameters.
Definition at line 31 of file resultsTable.hh.
Definition at line 23 of file resultsTable.hh.
| concepts::ResultsTable::ResultsTable | ( | ) |
Constructor.
| concepts::ResultsTable::~ResultsTable | ( | ) |
| void concepts::ResultsTable::addMap | ( | enum mapTypes | type, |
| const char * | name, | ||
| const InOutParameters & | holder | ||
| ) |
| void concepts::ResultsTable::headline_ | ( | std::ostream & | os | ) | const [private] |
| virtual std::ostream& concepts::ResultsTable::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| void concepts::ResultsTable::print | ( | std::ostream & | os | ) | const |
| void concepts::ResultsTable::print | ( | std::ostream & | os, |
| enum mapTypes | typeL, | ||
| const char * | nameL | ||
| ) | const |
| void concepts::ResultsTable::tableline_ | ( | std::ostream & | os, |
| const int | idx | ||
| ) | const [private] |
std::map<const char*, const std::map<int, bool>*, ltstr> concepts::ResultsTable::boolMaps_ [private] |
Definition at line 53 of file resultsTable.hh.
std::map<const char*, const std::map<int, double>*, ltstr> concepts::ResultsTable::doubleMaps_ [private] |
Definition at line 49 of file resultsTable.hh.
std::map<const char*, const std::map<int, int>*, ltstr> concepts::ResultsTable::intMaps_ [private] |
Definition at line 52 of file resultsTable.hh.
bool concepts::ResultsTable::leader_ [private] |
Definition at line 54 of file resultsTable.hh.
char* concepts::ResultsTable::nameL_ [private] |
Definition at line 56 of file resultsTable.hh.
std::map<const char*, const std::map<int, std::string>*, ltstr> concepts::ResultsTable::stringMaps_ [private] |
Definition at line 51 of file resultsTable.hh.
enum mapTypes concepts::ResultsTable::typeL_ [private] |
Definition at line 55 of file resultsTable.hh.