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::StringEntry Class Reference

A table entry that is a simple std::string. More...

#include <Teuchos_TableEntry.hpp>

Inheritance diagram for Teuchos::StringEntry:
Inheritance graph
[legend]

Public Member Functions

 StringEntry (std::string value)
 Construct with a value. More...
 
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

std::string data_
 

Detailed Description

A table entry that is a simple std::string.

Definition at line 103 of file Teuchos_TableEntry.hpp.

Constructor & Destructor Documentation

StringEntry::StringEntry ( std::string  value)

Construct with a value.

Definition at line 58 of file Teuchos_TableEntry.cpp.

Member Function Documentation

std::string StringEntry::toString ( ) const
virtual

Write the specified entry to a std::string.

Implements Teuchos::TableEntry.

Definition at line 62 of file Teuchos_TableEntry.cpp.

Member Data Documentation

std::string Teuchos::StringEntry::data_
private

Definition at line 113 of file Teuchos_TableEntry.hpp.


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