|
Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
Utility class that makes it easy to create formatted tables of output. More...
#include <Teuchos_TabularOutputter.hpp>
Classes | |
| struct | FieldSpec |
| class | InvalidFieldOutputError |
| . More... | |
| class | InvalidFieldSpecError |
| . More... | |
| class | MissingFieldsError |
| . More... | |
| class | MissingHeaderError |
| . More... | |
Utility class that makes it easy to create formatted tables of output.
Definition at line 61 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| DOUBLE | |
| INT | |
| STRING | |
Definition at line 68 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| numFieldTypes | |
Definition at line 69 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| LEFT | |
| RIGHT | |
Definition at line 72 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| numFieldJustifications | |
Definition at line 73 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| SCIENTIFIC | |
| GENERAL | |
Definition at line 76 of file Teuchos_TabularOutputter.hpp.
| Enumerator | |
|---|---|
| numFloatingOutputTypes | |
Definition at line 77 of file Teuchos_TabularOutputter.hpp.
| Teuchos::TabularOutputter::TabularOutputter | ( | std::ostream & | out | ) |
Definition at line 84 of file Teuchos_TabularOutputter.cpp.
Definition at line 93 of file Teuchos_TabularOutputter.cpp.
|
private |
Set the ostream that all output will be sent to.
Definition at line 102 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 ) |
Add a new field to be output.
Definition at line 111 of file Teuchos_TabularOutputter.cpp.
| 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 137 of file Teuchos_TabularOutputter.cpp.
| void Teuchos::TabularOutputter::outputHeader | ( | ) |
Output the headers.
Definition at line 144 of file Teuchos_TabularOutputter.cpp.
Output to the next field.
Definition at line 245 of file Teuchos_TabularOutputter.hpp.
Finalize the row of output.
Definition at line 185 of file Teuchos_TabularOutputter.cpp.
|
private |
Definition at line 211 of file Teuchos_TabularOutputter.cpp.
Definition at line 179 of file Teuchos_TabularOutputter.hpp.
Definition at line 186 of file Teuchos_TabularOutputter.hpp.
|
inline |
Definition at line 193 of file Teuchos_TabularOutputter.hpp.
|
staticprivate |
Definition at line 156 of file Teuchos_TabularOutputter.hpp.
Definition at line 163 of file Teuchos_TabularOutputter.hpp.
|
private |
Definition at line 164 of file Teuchos_TabularOutputter.hpp.
|
private |
Definition at line 165 of file Teuchos_TabularOutputter.hpp.
|
private |
Definition at line 170 of file Teuchos_TabularOutputter.hpp.
|
private |
Definition at line 172 of file Teuchos_TabularOutputter.hpp.
|
private |
Definition at line 173 of file Teuchos_TabularOutputter.hpp.