Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Teuchos::DoubleEntry Class Reference

A table entry that is a simple double-precision number. More...

#include <Teuchos_TableEntry.hpp>

Inheritance diagram for Teuchos::DoubleEntry:
Teuchos::TableEntry

Public Member Functions

 DoubleEntry (const double &value, int precision, const std::ios_base::fmtflags &flags)
 Construct with a value and a precision. 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...
 

Detailed Description

A table entry that is a simple double-precision number.

Definition at line 97 of file Teuchos_TableEntry.hpp.

Constructor & Destructor Documentation

DoubleEntry::DoubleEntry ( const double &  value,
int  precision,
const std::ios_base::fmtflags &  flags 
)

Construct with a value and a precision.

Definition at line 58 of file Teuchos_TableEntry.cpp.

Member Function Documentation

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

Write the specified entry to a std::string.

Implements Teuchos::TableEntry.

Definition at line 62 of file Teuchos_TableEntry.cpp.


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