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. More... | |
Public Member Functions inherited from Teuchos::TableEntry | |
TableEntry () | |
Empty ctor. More... | |
virtual | ~TableEntry () |
virtual dtor More... | |
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. More... | |
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 106 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.