Teuchos Package Browser (Single Doxygen Collection) Version of the Day
|
An entry containing two subentries, with the second to be written in parentheses after the first. For example,. More...
#include <Teuchos_TableEntry.hpp>
Public Member Functions | |
CompoundEntryWithParentheses (const RCP< TableEntry > &first, const RCP< TableEntry > &second, bool spaceBeforeParens=true) | |
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. | |
Private Attributes | |
RCP< TableEntry > | first_ |
RCP< TableEntry > | second_ |
bool | spaceBeforeParens_ |
An entry containing two subentries, with the second to be written in parentheses after the first. For example,.
The two subentries can be any type of data, each represented with a TableEntry derived type.
Definition at line 157 of file Teuchos_TableEntry.hpp.
CompoundEntryWithParentheses::CompoundEntryWithParentheses | ( | const RCP< TableEntry > & | first, |
const RCP< TableEntry > & | second, | ||
bool | spaceBeforeParens = true |
||
) |
Definition at line 105 of file Teuchos_TableEntry.cpp.
|
virtual |
Write the specified entry to a std::string.
Implements Teuchos::TableEntry.
Definition at line 115 of file Teuchos_TableEntry.cpp.
|
private |
Definition at line 169 of file Teuchos_TableEntry.hpp.
|
private |
Definition at line 170 of file Teuchos_TableEntry.hpp.
|
private |
Definition at line 171 of file Teuchos_TableEntry.hpp.