Teuchos::TableEntry Class Reference

An entry, perhaps compound, to be written into a table. More...

#include <Teuchos_TableEntry.hpp>

Inheritance diagram for Teuchos::TableEntry:

Teuchos::CompoundEntryWithParentheses Teuchos::DoubleEntry Teuchos::IntEntry Teuchos::StringEntry List of all members.

Public Member Functions

 TableEntry ()
 Empty ctor.
virtual ~TableEntry ()
 virtual dtor
virtual string toString () const =0
 Return a string representation of this entry.
virtual string toChoppedString (int maxWidth) const
 Return a string representation of this entry, truncated if necessary to fit within the given column width.

Detailed Description

An entry, perhaps compound, to be written into a table.

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.


Constructor & Destructor Documentation

Teuchos::TableEntry::TableEntry  )  [inline]
 

Empty ctor.

Definition at line 59 of file Teuchos_TableEntry.hpp.

virtual Teuchos::TableEntry::~TableEntry  )  [inline, virtual]
 

virtual dtor

Definition at line 62 of file Teuchos_TableEntry.hpp.


Member Function Documentation

virtual string Teuchos::TableEntry::toString  )  const [pure virtual]
 

Return a string representation of this entry.

Implemented in Teuchos::DoubleEntry, Teuchos::IntEntry, Teuchos::StringEntry, and Teuchos::CompoundEntryWithParentheses.

string TableEntry::toChoppedString int  maxWidth  )  const [virtual]
 

Return a string representation of this entry, truncated if necessary to fit within the given column width.

Parameters:
maxWidth [in] the maximum width of the string form. Larger strings must be truncated in a subclass-dependent way.
Returns:
the string, truncated if necessary

Definition at line 36 of file Teuchos_TableEntry.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1