|
Optika Development
|
#include <Optika_StandardConditions.hpp>


Public Member Functions | |
| BinaryLogicalCondition (ConditionList &conditions) | |
| virtual | ~BinaryLogicalCondition () |
| virtual void | addCondition (Teuchos::RCP< Condition > toAdd) |
| virtual bool | isConditionTrue ()=0 |
| bool | containsAtLeasteOneParameter () |
| Dependency::ParameterParentMap | getAllParameters () |
Protected Attributes | |
| ConditionList | conditions |
An abstract parent class for all Binary Logic Conditions. Binary Logic Conditions return the result of performing some Logical operation on a set of conditions. Note that although the name implies the evaluation of two conditions, Binary Logic Conditions can actually evaluate and arbiturary number of conditions.
| Optika::BinaryLogicalCondition::BinaryLogicalCondition | ( | ConditionList & | conditions | ) |
Constructs a BinaryLogicCondition
| conditions | The conditions to be evaluated. |
| virtual Optika::BinaryLogicalCondition::~BinaryLogicalCondition | ( | ) | [inline, virtual] |
Deconstructor for a BinaryLogicCondition
| void Optika::BinaryLogicalCondition::addCondition | ( | Teuchos::RCP< Condition > | toAdd | ) | [virtual] |
| bool Optika::BinaryLogicalCondition::containsAtLeasteOneParameter | ( | ) | [virtual] |
Determines whether or not the evaluation of a parameter occurs somewhere in this condition.
Implements Optika::Condition.
| Dependency::ParameterParentMap Optika::BinaryLogicalCondition::getAllParameters | ( | ) | [virtual] |
Gets all of the parameters that are evaluated in this condition.
Implements Optika::Condition.
| virtual bool Optika::BinaryLogicalCondition::isConditionTrue | ( | ) | [pure virtual] |
Determins whether or not a condition is true.
Implements Optika::Condition.
Implemented in Optika::OrCondition, Optika::AndCondition, and Optika::EqualsCondition.
1.7.4