42 #ifndef TEUCHOS_TABLEENTRY_H
43 #define TEUCHOS_TABLEENTRY_H
79 virtual std::string
toString()
const = 0 ;
102 DoubleEntry(
const double& value,
int precision,
const std::ios_base::fmtflags& flags);
105 virtual std::string
toString()
const ;
121 IntEntry(
int value,
const std::ios_base::fmtflags& flags);
124 virtual std::string
toString()
const ;
142 virtual std::string
toString()
const ;
163 bool spaceBeforeParens=
true);
166 virtual std::string
toString()
const ;
virtual ~TableEntry()
virtual dtor
virtual std::string toString() const =0
Return a std::string representation of this entry.
An entry, perhaps compound, to be written into a table.
virtual std::string toChoppedString(int maxWidth) const
Return a std::string representation of this entry, truncated if necessary to fit within the given col...
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
std::ios_base::fmtflags fmtflags_
virtual std::string toString() const
Write the specified entry to a std::string.
std::ios_base::fmtflags fmtflags_
RCP< TableEntry > second_
IntEntry(int value, const std::ios_base::fmtflags &flags)
Construct with a value.
A table entry that is a simple double-precision number.
A table entry that is a simple std::string.
virtual std::string toString() const
Write the specified entry to a std::string.
An entry containing two subentries, with the second to be written in parentheses after the first...
virtual std::string toString() const
Write the specified entry to a std::string.
Templated array class derived from the STL std::vector.
A table entry that is a simple integer.
virtual std::string toString() const
Write the specified entry to a std::string.
Smart reference counting pointer class for automatic garbage collection.
CompoundEntryWithParentheses(const RCP< TableEntry > &first, const RCP< TableEntry > &second, bool spaceBeforeParens=true)
DoubleEntry(const double &value, int precision, const std::ios_base::fmtflags &flags)
Construct with a value and a precision.
Reference-counted pointer class and non-member templated function implementations.
StringEntry(std::string value)
Construct with a value.