Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Teuchos::CompoundEntryWithParentheses Class Reference

An entry containing two subentries, with the second to be written in parentheses after the first. For example,. More...

#include <Teuchos_TableEntry.hpp>

Inheritance diagram for Teuchos::CompoundEntryWithParentheses:
Inheritance graph

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< TableEntryfirst_
RCP< TableEntrysecond_
bool spaceBeforeParens_

Detailed Description

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.

Constructor & Destructor Documentation

CompoundEntryWithParentheses::CompoundEntryWithParentheses ( const RCP< TableEntry > &  first,
const RCP< TableEntry > &  second,
bool  spaceBeforeParens = true 

Definition at line 106 of file Teuchos_TableEntry.cpp.

Member Function Documentation

std::string CompoundEntryWithParentheses::toString ( ) const

Write the specified entry to a std::string.

Implements Teuchos::TableEntry.

Definition at line 115 of file Teuchos_TableEntry.cpp.

Member Data Documentation

RCP<TableEntry> Teuchos::CompoundEntryWithParentheses::first_

Definition at line 169 of file Teuchos_TableEntry.hpp.

RCP<TableEntry> Teuchos::CompoundEntryWithParentheses::second_

Definition at line 170 of file Teuchos_TableEntry.hpp.

bool Teuchos::CompoundEntryWithParentheses::spaceBeforeParens_

Definition at line 171 of file Teuchos_TableEntry.hpp.

The documentation for this class was generated from the following files: