copasi API  0.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes
CNormalGeneralPower Class Reference

#include <CNormalGeneralPower.h>

Inheritance diagram for CNormalGeneralPower:
CNormalBase

List of all members.

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 [] = {"^", "%"}

Member Enumeration Documentation

Enumerator:
POWER 
MODULO 
INVALID 

Constructor & Destructor Documentation

CNormalGeneralPower::CNormalGeneralPower ( )
CNormalGeneralPower::CNormalGeneralPower ( const CNormalGeneralPower &  src)
CNormalGeneralPower::~CNormalGeneralPower ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

const char * CNormalGeneralPower::SYMBOLS = {"^", "%"} [static, protected]

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