copasi API  0.1
Public Member Functions | Friends
CTableCell Class Reference

#include <CTableCell.h>

List of all members.

Public Member Functions

 CTableCell (const char &separator= '\t')
 CTableCell (const CTableCell &src)
 ~CTableCell ()
bool setSeparator (const char &separator)
const char & getSeparator () const
const bool & isValue () const
const std::string & getName () const
const C_FLOAT64 & getValue () const
const bool & isEmpty () const

Friends

std::istream & operator>> (std::istream &is, CTableCell &cell)

Constructor & Destructor Documentation

CTableCell::CTableCell ( const char &  separator = '\t')

Default constructor

Parameters:
constchar & separator (default: '')
CTableCell::CTableCell ( const CTableCell src)

Copy constructor

Parameters:
constCTableCell & src
CTableCell::~CTableCell ( )

Destructor


Member Function Documentation

const std::string & CTableCell::getName ( ) const

Retrieve the name.

Returns:
const std::string & name
const char & CTableCell::getSeparator ( ) const

Retreive the separator

Returns:
const char & separator
const C_FLOAT64 & CTableCell::getValue ( ) const

Retrieve the value.

Returns:
const C_FLOAT64 & value
const bool & CTableCell::isEmpty ( ) const

Check whether a cell contains any data. A cell is considered empty when it only contains whitespace charaters.

const bool & CTableCell::isValue ( ) const

Check whether the cell contains a numeric value

Returns:
bool isValue
bool CTableCell::setSeparator ( const char &  separator)

Set the separator

Parameters:
constchar & separator
Returns:
bool success

Friends And Related Function Documentation

std::istream& operator>> ( std::istream &  is,
CTableCell cell 
) [friend]

Formated stream input operator

Parameters:
CTableCell& cell
Returns:
std::istream &

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines