copasi API
0.1
|
#include <CNormalCall.h>
Public Types | |
enum | Type { FUNCTION, EXPRESSION, DELAY, INVALID } |
Public Member Functions | |
CNormalCall () | |
CNormalCall (const CNormalCall &src) | |
CNormalCall & | operator= (const CNormalCall &src) |
bool | operator< (const CNormalCall &rhs) const |
virtual | ~CNormalCall () |
virtual CNormalBase * | copy () const |
int | getSize () const |
bool | add (const CNormalFraction &fraction) |
const std::vector < CNormalFraction * > & | getFractions () const |
bool | operator== (const CNormalCall &rhs) const |
void | setFractions (const std::vector< CNormalFraction * > &set) |
virtual std::string | toString () const |
virtual bool | simplify () |
const std::string & | getName () const |
void | setName (const std::string &name) |
Type | getType () const |
void | setType (Type type) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CNormalCall &d) |
The class for function calls used in CNormal
enum CNormalCall::Type |
CNormalCall::CNormalCall | ( | ) |
Default constructor
CNormalCall::CNormalCall | ( | const CNormalCall & | src | ) |
Copy Constructor
CNormalCall::~CNormalCall | ( | ) | [virtual] |
Destructor
bool CNormalCall::add | ( | const CNormalFraction & | fraction | ) |
Add fraction to this sum.
CNormalBase * CNormalCall::copy | ( | ) | const [virtual] |
Implements CNormalBase.
const std::vector< CNormalFraction * > & CNormalCall::getFractions | ( | ) | const |
Retrieve the set of fractions of this sum.
const std::string & CNormalCall::getName | ( | ) | const |
int CNormalCall::getSize | ( | ) | const |
Retrieve the number of summands of this sum.
CNormalCall::Type CNormalCall::getType | ( | ) | const |
bool CNormalCall::operator< | ( | const CNormalCall & | rhs | ) | const |
Smaller operator
CNormalCall & CNormalCall::operator= | ( | const CNormalCall & | src | ) |
Assignment operator
bool CNormalCall::operator== | ( | const CNormalCall & | rhs | ) | const |
Examine equality of two sums.
void CNormalCall::setFractions | ( | const std::vector< CNormalFraction * > & | set | ) |
Sets the fractions of this product.
void CNormalCall::setName | ( | const std::string & | name | ) |
void CNormalCall::setType | ( | CNormalCall::Type | type | ) |
bool CNormalCall::simplify | ( | ) | [virtual] |
Implements CNormalBase.
std::string CNormalCall::toString | ( | ) | const [virtual] |
Implements CNormalBase.
std::ostream& operator<< | ( | std::ostream & | os, |
const CNormalCall & | d | ||
) | [friend] |