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

#include <Teuchos_TableColumn.hpp>

Public Member Functions

 TableColumn ()
 Empty ctor. More...
 
 TableColumn (const Array< std::string > &vals)
 Form a column of std::string entries. More...
 
 TableColumn (const Array< double > &vals, int precision, const std::ios_base::fmtflags &flags)
 Form a column of double entries. More...
 
 TableColumn (const Array< double > &first, const Array< double > &second, int precision, const std::ios_base::fmtflags &flags, bool spaceBeforeParentheses)
 Form a column of compound entries written as "first(second)". More...
 
int numRows () const
 
void addEntry (const RCP< TableEntry > &entry)
 
const RCP< TableEntry > & entry (int i) const
 

Private Attributes

Array< RCP< TableEntry > > data_
 

Detailed Description

KL 30 Apr 2006 – initial design.

Definition at line 29 of file Teuchos_TableColumn.hpp.

Constructor & Destructor Documentation

Teuchos::TableColumn::TableColumn ( )
inline

Empty ctor.

Definition at line 33 of file Teuchos_TableColumn.hpp.

TableColumn::TableColumn ( const Array< std::string > &  vals)

Form a column of std::string entries.

Definition at line 15 of file Teuchos_TableColumn.cpp.

TableColumn::TableColumn ( const Array< double > &  vals,
int  precision,
const std::ios_base::fmtflags &  flags 
)

Form a column of double entries.

Definition at line 25 of file Teuchos_TableColumn.cpp.

TableColumn::TableColumn ( const Array< double > &  first,
const Array< double > &  second,
int  precision,
const std::ios_base::fmtflags &  flags,
bool  spaceBeforeParentheses 
)

Form a column of compound entries written as "first(second)".

Definition at line 37 of file Teuchos_TableColumn.cpp.

Member Function Documentation

int Teuchos::TableColumn::numRows ( ) const
inline

Definition at line 47 of file Teuchos_TableColumn.hpp.

void TableColumn::addEntry ( const RCP< TableEntry > &  entry)

Definition at line 57 of file Teuchos_TableColumn.cpp.

const RCP<TableEntry>& Teuchos::TableColumn::entry ( int  i) const
inline

Definition at line 53 of file Teuchos_TableColumn.hpp.

Member Data Documentation

Array<RCP<TableEntry> > Teuchos::TableColumn::data_
private

Definition at line 56 of file Teuchos_TableColumn.hpp.


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