#include <Teuchos_TableEntry.hpp>
Public Member Functions | |
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. |
KL 30 Apr 2006 -- initial design. Can you say overengineering?? The complexity is to support a nice interface for pair entries such as time/numCalls.
Definition at line 55 of file Teuchos_TableEntry.hpp.
Teuchos::TableEntry::TableEntry | ( | ) | [inline] |
virtual Teuchos::TableEntry::~TableEntry | ( | ) | [inline, virtual] |
std::string TableEntry::toChoppedString | ( | int | maxWidth | ) | const [virtual] |
Return a std::string representation of this entry, truncated if necessary to fit within the given column width.
maxWidth | [in] the maximum width of the std::string form. Larger strings must be truncated in a subclass-dependent way. |
Definition at line 36 of file Teuchos_TableEntry.cpp.
virtual std::string Teuchos::TableEntry::toString | ( | ) | const [pure virtual] |
Return a std::string representation of this entry.
Implemented in Teuchos::DoubleEntry, Teuchos::IntEntry, Teuchos::StringEntry, and Teuchos::CompoundEntryWithParentheses.