#include <Teuchos_TabularOutputter.hpp>
Public Types | |
Public types | |
| enum | EFieldType |
| More... | |
| enum | |
| enum | EFieldJustification |
| More... | |
| enum | |
| enum | EFloatingOutputType |
| More... | |
| enum | |
Public Member Functions | |
| TabularOutputter (std::ostream &out) | |
| | |
| TabularOutputter (const RCP< std::ostream > &out) | |
| | |
| void | setOStream (const RCP< std::ostream > &out) |
| Set the ostream that all output will be sent to. | |
| void | pushFieldSpec (const std::string &fieldName, const EFieldType fieldType=DOUBLE, const EFieldJustification fieldJustification=RIGHT, const EFloatingOutputType floatingOutputType=SCIENTIFIC, const int width=-1) |
| Add a new field to be output. | |
| void | setFieldTypePrecision (const EFieldType fieldType, const int prec) |
| Set the precision of output for a field. | |
| void | outputHeader () |
| Output the headers. | |
| template<typename T> | |
| void | outputField (const T &t) |
| Output to the next field. | |
| void | nextRow (const bool allowRemainingFields=false) |
| Finalize the row of output. | |
| void | startTimer (const int numLoops) |
| double | stopTimer () |
Classes | |
| class | InvalidFieldOutputError |
| More... | |
| class | InvalidFieldSpecError |
| More... | |
| class | MissingFieldsError |
| More... | |
| class | MissingHeaderError |
| More... | |
Definition at line 48 of file Teuchos_TabularOutputter.hpp.
| Teuchos::TabularOutputter::TabularOutputter | ( | std::ostream & | out | ) |
| Teuchos::TabularOutputter::TabularOutputter | ( | const RCP< std::ostream > & | out | ) |
| void Teuchos::TabularOutputter::setOStream | ( | const RCP< std::ostream > & | out | ) |
Set the ostream that all output will be sent to.
Definition at line 87 of file Teuchos_TabularOutputter.cpp.
| void Teuchos::TabularOutputter::pushFieldSpec | ( | const std::string & | fieldName, | |
| const EFieldType | fieldType = DOUBLE, |
|||
| const EFieldJustification | fieldJustification = RIGHT, |
|||
| const EFloatingOutputType | floatingOutputType = SCIENTIFIC, |
|||
| const int | width = -1 | |||
| ) |
| void Teuchos::TabularOutputter::setFieldTypePrecision | ( | const EFieldType | fieldType, | |
| const int | prec | |||
| ) |
Set the precision of output for a field.
This will also determine the width of the field.
Definition at line 122 of file Teuchos_TabularOutputter.cpp.
| void Teuchos::TabularOutputter::outputHeader | ( | ) |
| void Teuchos::TabularOutputter::outputField | ( | const T & | t | ) |
| void Teuchos::TabularOutputter::nextRow | ( | const bool | allowRemainingFields = false |
) |
1.4.7