COPASI API
4.16.103
|
#include <CNormalChoiceLogical.h>
Public Member Functions | |
CNormalChoiceLogical () | |
CNormalChoiceLogical (const CNormalChoiceLogical &src) | |
virtual CNormalBase * | copy () const |
const CNormalLogical & | getCondition () const |
CNormalLogical & | getCondition () |
const CNormalLogical & | getFalseExpression () const |
CNormalLogical & | getFalseExpression () |
const CNormalLogical & | getTrueExpression () const |
CNormalLogical & | getTrueExpression () |
void | negate () |
bool | operator< (const CNormalChoiceLogical &rhs) const |
CNormalChoiceLogical & | operator= (const CNormalChoiceLogical &src) |
bool | operator== (const CNormalChoiceLogical &rhs) const |
bool | setCondition (const CNormalLogical &cond) |
bool | setFalseExpression (const CNormalLogical &branch) |
bool | setTrueExpression (const CNormalLogical &branch) |
virtual bool | simplify () |
virtual std::string | toString () const |
virtual | ~CNormalChoiceLogical () |
![]() | |
virtual bool | areEqual (const CNormalBase &rhs) const |
virtual | ~CNormalBase () |
Static Public Member Functions | |
static bool | checkConditionTree (const CNormalBase &branch) |
Protected Attributes | |
CNormalLogical * | mpCondition |
CNormalLogical * | mpFalse |
CNormalLogical * | mpTrue |
Definition at line 23 of file CNormalChoiceLogical.h.
CNormalChoiceLogical::CNormalChoiceLogical | ( | ) |
Definition at line 27 of file CNormalChoiceLogical.cpp.
Referenced by copy().
CNormalChoiceLogical::CNormalChoiceLogical | ( | const CNormalChoiceLogical & | src | ) |
Definition at line 30 of file CNormalChoiceLogical.cpp.
|
virtual |
Definition at line 37 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, mpTrue, and pdelete.
|
static |
Definition at line 129 of file CNormalChoiceLogical.cpp.
References CNormalItem::CONSTANT, getCondition(), getFalseExpression(), CNormalItem::getName(), getTrueExpression(), and CNormalItem::getType().
Referenced by setCondition(), setFalseExpression(), and setTrueExpression().
|
virtual |
Implements CNormalBase.
Definition at line 124 of file CNormalChoiceLogical.cpp.
References CNormalChoiceLogical().
const CNormalLogical & CNormalChoiceLogical::getCondition | ( | ) | const |
Definition at line 94 of file CNormalChoiceLogical.cpp.
References mpCondition.
Referenced by checkConditionTree(), and convertToCEvaluationNode().
CNormalLogical & CNormalChoiceLogical::getCondition | ( | ) |
const CNormalLogical & CNormalChoiceLogical::getFalseExpression | ( | ) | const |
Definition at line 114 of file CNormalChoiceLogical.cpp.
References mpFalse.
Referenced by checkConditionTree(), and convertToCEvaluationNode().
CNormalLogical & CNormalChoiceLogical::getFalseExpression | ( | ) |
const CNormalLogical & CNormalChoiceLogical::getTrueExpression | ( | ) | const |
Definition at line 104 of file CNormalChoiceLogical.cpp.
References mpTrue.
Referenced by checkConditionTree(), and convertToCEvaluationNode().
CNormalLogical & CNormalChoiceLogical::getTrueExpression | ( | ) |
void CNormalChoiceLogical::negate | ( | ) |
Definition at line 189 of file CNormalChoiceLogical.cpp.
References mpFalse, and mpTrue.
bool CNormalChoiceLogical::operator< | ( | const CNormalChoiceLogical & | rhs | ) | const |
Definition at line 201 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, and mpTrue.
CNormalChoiceLogical & CNormalChoiceLogical::operator= | ( | const CNormalChoiceLogical & | src | ) |
Definition at line 44 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, mpTrue, and pdelete.
bool CNormalChoiceLogical::operator== | ( | const CNormalChoiceLogical & | rhs | ) | const |
Definition at line 196 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, and mpTrue.
bool CNormalChoiceLogical::setCondition | ( | const CNormalLogical & | cond | ) |
Definition at line 60 of file CNormalChoiceLogical.cpp.
References checkConditionTree(), mpCondition, and pdelete.
Referenced by createLogicalChoice().
bool CNormalChoiceLogical::setFalseExpression | ( | const CNormalLogical & | branch | ) |
Definition at line 83 of file CNormalChoiceLogical.cpp.
References checkConditionTree(), mpFalse, and pdelete.
Referenced by createLogicalChoice().
bool CNormalChoiceLogical::setTrueExpression | ( | const CNormalLogical & | branch | ) |
Definition at line 72 of file CNormalChoiceLogical.cpp.
References checkConditionTree(), mpTrue, and pdelete.
Referenced by createLogicalChoice().
|
virtual |
Implements CNormalBase.
Definition at line 180 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, mpTrue, and CNormalLogical::simplify().
|
virtual |
Implements CNormalBase.
Definition at line 167 of file CNormalChoiceLogical.cpp.
References mpCondition, mpFalse, mpTrue, and CNormalLogical::toString().
Referenced by operator<<().
|
protected |
Definition at line 26 of file CNormalChoiceLogical.h.
Referenced by getCondition(), operator<(), operator=(), operator==(), setCondition(), simplify(), toString(), and ~CNormalChoiceLogical().
|
protected |
Definition at line 28 of file CNormalChoiceLogical.h.
Referenced by getFalseExpression(), negate(), operator<(), operator=(), operator==(), setFalseExpression(), simplify(), toString(), and ~CNormalChoiceLogical().
|
protected |
Definition at line 27 of file CNormalChoiceLogical.h.
Referenced by getTrueExpression(), negate(), operator<(), operator=(), operator==(), setTrueExpression(), simplify(), toString(), and ~CNormalChoiceLogical().