Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
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)
 Form a column of double entries. More...
 
 TableColumn (const Array< double > &first, const Array< double > &second, int precision, 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 59 of file Teuchos_TableColumn.hpp.

Constructor & Destructor Documentation

◆ TableColumn() [1/4]

Teuchos::TableColumn::TableColumn ( )
inline

Empty ctor.

Definition at line 63 of file Teuchos_TableColumn.hpp.

◆ TableColumn() [2/4]

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

Form a column of std::string entries.

Definition at line 47 of file Teuchos_TableColumn.cpp.

◆ TableColumn() [3/4]

TableColumn::TableColumn ( const Array< double > &  vals,
int  precision 
)

Form a column of double entries.

Definition at line 57 of file Teuchos_TableColumn.cpp.

◆ TableColumn() [4/4]

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

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

Definition at line 68 of file Teuchos_TableColumn.cpp.

Member Function Documentation

◆ numRows()

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

Definition at line 77 of file Teuchos_TableColumn.hpp.

◆ addEntry()

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

Definition at line 84 of file Teuchos_TableColumn.cpp.

◆ entry()

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

Definition at line 83 of file Teuchos_TableColumn.hpp.

Member Data Documentation

◆ data_

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

Definition at line 86 of file Teuchos_TableColumn.hpp.


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