copasi API
0.1
|
#include <CNormalItem.h>
Public Types | |
enum | Type { CONSTANT, VARIABLE } |
Public Member Functions | |
CNormalItem () | |
CNormalItem (const std::string &name, const Type &type) | |
virtual CNormalBase * | copy () const |
CNormalItem (const CNormalItem &src) | |
CNormalItem & | operator= (const CNormalItem &src) |
bool | setName (const std::string &name) |
bool | setType (const Type &type) |
const std::string | getName () const |
const Type & | getType () const |
bool | operator== (const CNormalItem &rhs) const |
bool | operator< (const CNormalItem &rhs) const |
virtual std::string | toString () const |
virtual bool | simplify () |
Public Attributes | |
std::string | mName |
Type | mType |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CNormalItem &d) |
The class for items used in CNormal
enum CNormalItem::Type |
CNormalItem::CNormalItem | ( | ) |
Default constructor
CNormalItem::CNormalItem | ( | const std::string & | name, |
const Type & | type | ||
) |
Data constructor
CNormalItem::CNormalItem | ( | const CNormalItem & | src | ) |
Copy contructor
CNormalBase * CNormalItem::copy | ( | ) | const [virtual] |
Implements CNormalBase.
const std::string CNormalItem::getName | ( | ) | const |
Retrieve the name of this item.
const CNormalItem::Type & CNormalItem::getType | ( | ) | const |
Retrieve the type of this item.
bool CNormalItem::operator< | ( | const CNormalItem & | rhs | ) | const |
Examine inequality of two item.
CNormalItem & CNormalItem::operator= | ( | const CNormalItem & | src | ) |
Assignment operator
bool CNormalItem::operator== | ( | const CNormalItem & | rhs | ) | const |
Examine equality of two items.
bool CNormalItem::setName | ( | const std::string & | name | ) |
Set the name of this item
bool CNormalItem::setType | ( | const Type & | type | ) |
Set the type of this item.
virtual bool CNormalItem::simplify | ( | ) | [inline, virtual] |
Implements CNormalBase.
std::string CNormalItem::toString | ( | ) | const [virtual] |
Implements CNormalBase.
std::ostream& operator<< | ( | std::ostream & | os, |
const CNormalItem & | d | ||
) | [friend] |
std::string CNormalItem::mName |