Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Classes | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::ResultsTable Class Reference

Organizes the results in the hashes from InOutParameters in a nice table. More...

#include <resultsTable.hh>

Inheritance diagram for concepts::ResultsTable:
Inheritance graph
[legend]
Collaboration diagram for concepts::ResultsTable:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

Organizes the results in the hashes from InOutParameters in a nice table.

Author:
Philipp Frauenfelder, 2002
Examples:

hpFEM2d.cc, hpFEM3d-EV.cc, inputoutput.cc, linearDG1d.cc, and linearFEM1d.cc.

Definition at line 21 of file resultsTable.hh.


Member Enumeration Documentation

Types of maps in InOutParameters.

Enumerator:
DOUBLE 
STRING 
INT 
BOOL 

Definition at line 31 of file resultsTable.hh.

Enumerator:
SCREEN 
GNUPLOT 
HTML 

Definition at line 23 of file resultsTable.hh.


Constructor & Destructor Documentation

concepts::ResultsTable::ResultsTable ( )

Constructor.

concepts::ResultsTable::~ResultsTable ( )

Member Function Documentation

void concepts::ResultsTable::addMap ( enum mapTypes  type,
const char *  name,
const InOutParameters holder 
)
template<enum tableTypes t>
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.

template<enum tableTypes t>
void concepts::ResultsTable::print ( std::ostream &  os) const
template<enum tableTypes t>
void concepts::ResultsTable::print ( std::ostream &  os,
enum mapTypes  typeL,
const char *  nameL 
) const
template<enum tableTypes t>
void concepts::ResultsTable::tableline_ ( std::ostream &  os,
const int  idx 
) const [private]

Member Data Documentation

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.

Definition at line 54 of file resultsTable.hh.

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.

Definition at line 55 of file resultsTable.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)