copasi API  0.1
Public Member Functions | Static Public Member Functions | Protected Attributes | Friends
CNormalChoice Class Reference

#include <CNormalChoice.h>

Inheritance diagram for CNormalChoice:
CNormalBase

List of all members.

Public Member Functions

 CNormalChoice ()
 CNormalChoice (const CNormalChoice &src)
virtual ~CNormalChoice ()
virtual CNormalBase * copy () const
CNormalChoice & operator= (const CNormalChoice &src)
bool operator== (const CNormalChoice &rhs) const
bool operator< (const CNormalChoice &rhs) const
bool setCondition (const CNormalLogical &cond)
bool setTrueExpression (const CNormalFraction &branch)
bool setFalseExpression (const CNormalFraction &branch)
const CNormalLogical & getCondition () const
CNormalLogical & getCondition ()
const CNormalFraction & getTrueExpression () const
CNormalFraction & getTrueExpression ()
const CNormalFraction & getFalseExpression () const
CNormalFraction & getFalseExpression ()
virtual std::string toString () const
virtual bool simplify ()

Static Public Member Functions

static bool checkConditionTree (const CNormalBase &branch)
static bool checkExpressionTree (const CNormalBase &branch)

Protected Attributes

CNormalLogical * mpCondition
CNormalFraction * mpTrue
CNormalFraction * mpFalse

Friends

std::ostream & operator<< (std::ostream &os, const CNormalChoice &choice)

Constructor & Destructor Documentation

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

Member Function Documentation

bool CNormalChoice::checkConditionTree ( const CNormalBase &  branch) [static]
bool CNormalChoice::checkExpressionTree ( const CNormalBase &  branch) [static]
CNormalBase * CNormalChoice::copy ( ) const [virtual]

Implements CNormalBase.

const CNormalLogical & CNormalChoice::getCondition ( ) const
CNormalLogical & CNormalChoice::getCondition ( )
const CNormalFraction & CNormalChoice::getFalseExpression ( ) const
CNormalFraction & CNormalChoice::getFalseExpression ( )
const CNormalFraction & CNormalChoice::getTrueExpression ( ) const
CNormalFraction & CNormalChoice::getTrueExpression ( )
bool CNormalChoice::operator< ( const CNormalChoice &  rhs) const
CNormalChoice & CNormalChoice::operator= ( const CNormalChoice &  src)
bool CNormalChoice::operator== ( const CNormalChoice &  rhs) const
bool CNormalChoice::setCondition ( const CNormalLogical &  cond)
bool CNormalChoice::setFalseExpression ( const CNormalFraction &  branch)
bool CNormalChoice::setTrueExpression ( const CNormalFraction &  branch)
bool CNormalChoice::simplify ( ) [virtual]

Implements CNormalBase.

std::string CNormalChoice::toString ( ) const [virtual]

Implements CNormalBase.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CNormalChoice &  choice 
) [friend]

Member Data Documentation


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