|
copasi API
0.1
|
#include <CNormalGeneralPower.h>
Public Types | |
| enum | Type { POWER = 0, MODULO, INVALID } |
Public Member Functions | |
| CNormalGeneralPower () | |
| CNormalGeneralPower (const CNormalGeneralPower &src) | |
| virtual | ~CNormalGeneralPower () |
| CNormalGeneralPower & | operator= (const CNormalGeneralPower &src) |
| bool | operator== (const CNormalGeneralPower &rhs) const |
| bool | operator< (const CNormalGeneralPower &rhs) const |
| virtual CNormalBase * | copy () const |
| virtual bool | simplify () |
| virtual std::string | toString () const |
| CNormalFraction & | getLeft () |
| const CNormalFraction & | getLeft () const |
| void | setLeft (const CNormalFraction &left) |
| CNormalFraction & | getRight () |
| const CNormalFraction & | getRight () const |
| void | setRight (const CNormalFraction &right) |
| Type | getType () const |
| void | setType (Type type) |
| bool | checkIsOne () const |
| void | multiply (const CNormalGeneralPower &generalPower) |
Static Public Member Functions | |
| static CNormalGeneralPower * | createUnitGeneralPower () |
Protected Attributes | |
| Type | mType |
| CNormalFraction * | mpLeft |
| CNormalFraction * | mpRight |
Static Protected Attributes | |
| static const char * | SYMBOLS [] = {"^", "%"} |
| CNormalGeneralPower::CNormalGeneralPower | ( | ) |
| CNormalGeneralPower::CNormalGeneralPower | ( | const CNormalGeneralPower & | src | ) |
| CNormalGeneralPower::~CNormalGeneralPower | ( | ) | [virtual] |
| bool CNormalGeneralPower::checkIsOne | ( | ) | const |
| CNormalBase * CNormalGeneralPower::copy | ( | ) | const [virtual] |
Implements CNormalBase.
| CNormalGeneralPower * CNormalGeneralPower::createUnitGeneralPower | ( | ) | [static] |
Returns a general power that is (1/1)^(1/1). It creates a new general power of type power and sets the left and right side to a unit fraction.
| CNormalFraction & CNormalGeneralPower::getLeft | ( | ) |
| const CNormalFraction & CNormalGeneralPower::getLeft | ( | ) | const |
| CNormalFraction & CNormalGeneralPower::getRight | ( | ) |
| const CNormalFraction & CNormalGeneralPower::getRight | ( | ) | const |
| CNormalGeneralPower::Type CNormalGeneralPower::getType | ( | ) | const |
| void CNormalGeneralPower::multiply | ( | const CNormalGeneralPower & | generalPower | ) |
| bool CNormalGeneralPower::operator< | ( | const CNormalGeneralPower & | rhs | ) | const |
| CNormalGeneralPower & CNormalGeneralPower::operator= | ( | const CNormalGeneralPower & | src | ) |
| bool CNormalGeneralPower::operator== | ( | const CNormalGeneralPower & | rhs | ) | const |
| void CNormalGeneralPower::setLeft | ( | const CNormalFraction & | left | ) |
| void CNormalGeneralPower::setRight | ( | const CNormalFraction & | right | ) |
| void CNormalGeneralPower::setType | ( | CNormalGeneralPower::Type | type | ) |
| bool CNormalGeneralPower::simplify | ( | ) | [virtual] |
Implements CNormalBase.
| std::string CNormalGeneralPower::toString | ( | ) | const [virtual] |
Implements CNormalBase.
CNormalFraction* CNormalGeneralPower::mpLeft [protected] |
CNormalFraction* CNormalGeneralPower::mpRight [protected] |
Type CNormalGeneralPower::mType [protected] |
const char * CNormalGeneralPower::SYMBOLS = {"^", "%"} [static, protected] |
1.7.5.1