COPASI API
4.16.103
|
#include <CTableCell.h>
Public Member Functions | |
CTableCell (const char &separator= '\t') | |
CTableCell (const CTableCell &src) | |
const std::string & | getName () const |
const char & | getSeparator () const |
const C_FLOAT64 & | getValue () const |
const bool & | isEmpty () const |
const bool & | isValue () const |
bool | setSeparator (const char &separator) |
~CTableCell () | |
Private Attributes | |
bool | mIsEmpty |
bool | mIsValue |
std::string | mName |
char | mSeparator |
C_FLOAT64 | mValue |
Friends | |
std::istream & | operator>> (std::istream &is, CTableCell &cell) |
Definition at line 29 of file CTableCell.h.
CTableCell::CTableCell | ( | const char & | separator = '\t' | ) |
Default constructor
const | char & separator (default: '') |
Definition at line 27 of file CTableCell.cpp.
CTableCell::CTableCell | ( | const CTableCell & | src | ) |
CTableCell::~CTableCell | ( | ) |
const std::string & CTableCell::getName | ( | ) | const |
Retrieve the name.
Definition at line 57 of file CTableCell.cpp.
References mName.
const char & CTableCell::getSeparator | ( | ) | const |
Retreive the separator
Definition at line 51 of file CTableCell.cpp.
References mSeparator.
const C_FLOAT64 & CTableCell::getValue | ( | ) | const |
Retrieve the value.
Definition at line 59 of file CTableCell.cpp.
References mValue.
const bool & CTableCell::isEmpty | ( | ) | const |
Check whether a cell contains any data. A cell is considered empty when it only contains whitespace charaters.
Definition at line 55 of file CTableCell.cpp.
References mIsEmpty.
const bool & CTableCell::isValue | ( | ) | const |
Check whether the cell contains a numeric value
Definition at line 53 of file CTableCell.cpp.
References mIsValue.
bool CTableCell::setSeparator | ( | const char & | separator | ) |
Set the separator
const | char & separator |
Definition at line 45 of file CTableCell.cpp.
References mSeparator.
|
friend |
Formated stream input operator
CTableCell | & cell |
Definition at line 61 of file CTableCell.cpp.
|
private |
Definition at line 106 of file CTableCell.h.
Referenced by isEmpty(), and operator>>().
|
private |
Definition at line 104 of file CTableCell.h.
Referenced by isValue(), and operator>>().
|
private |
Definition at line 100 of file CTableCell.h.
Referenced by getName(), and operator>>().
|
private |
Definition at line 98 of file CTableCell.h.
Referenced by getSeparator(), operator>>(), and setSeparator().
|
private |
Definition at line 102 of file CTableCell.h.
Referenced by getValue(), and operator>>().