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 CNormalBasecopy () const
CNormalChoiceoperator= (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 CNormalLogicalgetCondition () const
CNormalLogicalgetCondition ()
const CNormalFractiongetTrueExpression () const
CNormalFractiongetTrueExpression ()
const CNormalFractiongetFalseExpression () const
CNormalFractiongetFalseExpression ()
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

CNormalLogicalmpCondition
CNormalFractionmpTrue
CNormalFractionmpFalse

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