Teuchos - Trilinos Tools Package Version of the Day
|
A table entry that is a simple double-precision number. More...
#include <Teuchos_TableEntry.hpp>
Public Member Functions | |
DoubleEntry (const double &value, int precision, const std::ios_base::fmtflags &flags) | |
Construct with a value and a precision. | |
virtual std::string | toString () const |
Write the specified entry to a std::string. | |
![]() | |
TableEntry () | |
Empty ctor. | |
virtual | ~TableEntry () |
virtual dtor | |
virtual std::string | toString () const =0 |
Return a std::string representation of this entry. | |
virtual std::string | toChoppedString (int maxWidth) const |
Return a std::string representation of this entry, truncated if necessary to fit within the given column width. | |
A table entry that is a simple double-precision number.
Definition at line 97 of file Teuchos_TableEntry.hpp.
DoubleEntry::DoubleEntry | ( | const double & | value, |
int | precision, | ||
const std::ios_base::fmtflags & | flags | ||
) |
Construct with a value and a precision.
Definition at line 58 of file Teuchos_TableEntry.cpp.
|
virtual |
Write the specified entry to a std::string.
Implements Teuchos::TableEntry.
Definition at line 62 of file Teuchos_TableEntry.cpp.