|
Optika Development
|
#include <Optika_StandardConditions.hpp>


Public Member Functions | |
| BoolCondition (std::string parameterName, Teuchos::RCP< Teuchos::ParameterList > parentList, bool whenParamEqualsValue=true) | |
| bool | isConditionTrue () |
A Bool Condition is a Parameter Condition that evaluates whether or not a Boolean parameter is ture.
| Optika::BoolCondition::BoolCondition | ( | std::string | parameterName, |
| Teuchos::RCP< Teuchos::ParameterList > | parentList, | ||
| bool | whenParamEqualsValue = true |
||
| ) |
Constructs a Bool Condition.
| parameterName | The name of the parameter to be evaluated. |
| parentList | The parent Parameter List of the parameter to be evaluated. |
| whenParamEqualsValue | Indicates whether the condition should be true when the evaluation results in a true or when the evaluation results in a false. When set to true, if the parameter evaluates to true then the condition will evaluate to true. If set to false if the parameter evaluates to false, then the condition will evaluatae to true. |
| bool Optika::BoolCondition::isConditionTrue | ( | ) | [virtual] |
Determins whether or not a condition is true.
Implements Optika::ParameterCondition.
1.7.4