|
Teuchos - Trilinos Tools Package
Version of the Day
|
A Condition determines whether or not a particular set of conditions are currently occuring. More...
#include <Teuchos_Condition.hpp>
Public Types | |
Public types | |
| typedef Teuchos::Array < Teuchos::RCP< Condition > > | ConditionList |
| Convenience typedef for defining a list of conditions. | |
|
typedef Teuchos::Array < Teuchos::RCP< const Condition > > | ConstConditionList |
Public Member Functions | |
Constructors/Destructor | |
| Condition () | |
| Constructs a Condition. | |
| virtual | ~Condition () |
| Destructs a condition. | |
| virtual bool | isConditionTrue () const =0 |
| Determins whether or not a condition is true. | |
| virtual bool | containsAtLeasteOneParameter () const =0 |
| Determines whether or not the evaluation of a parameter occurs somewhere in this condition. | |
| virtual Dependency::ConstParameterEntryList | getAllParameters () const =0 |
| Gets all of the parameters that are evaluated in this condition. | |
| virtual std::string | getTypeAttributeValue () const =0 |
| Get the value that should be used for the condition type attribute when converting a condition to XML. | |
| static const std::string & | getXMLTagName () |
| | |
A Condition determines whether or not a particular set of conditions are currently occuring.
Definition at line 62 of file Teuchos_Condition.hpp.
Convenience typedef for defining a list of conditions.
Definition at line 71 of file Teuchos_Condition.hpp.
| Teuchos::Condition::Condition | ( | ) | [inline] |
Constructs a Condition.
Definition at line 83 of file Teuchos_Condition.hpp.
| virtual Teuchos::Condition::~Condition | ( | ) | [inline, virtual] |
Destructs a condition.
Definition at line 88 of file Teuchos_Condition.hpp.
| virtual bool Teuchos::Condition::isConditionTrue | ( | ) | const [pure virtual] |
Determins whether or not a condition is true.
Attribute/Query Functions
Implemented in Teuchos::NotCondition, Teuchos::BoolLogicCondition, and Teuchos::ParameterCondition.
| virtual bool Teuchos::Condition::containsAtLeasteOneParameter | ( | ) | const [pure virtual] |
Determines whether or not the evaluation of a parameter occurs somewhere in this condition.
Implemented in Teuchos::NotCondition, Teuchos::BoolLogicCondition, and Teuchos::ParameterCondition.
| virtual Dependency::ConstParameterEntryList Teuchos::Condition::getAllParameters | ( | ) | const [pure virtual] |
Gets all of the parameters that are evaluated in this condition.
Implemented in Teuchos::NotCondition, Teuchos::BoolLogicCondition, and Teuchos::ParameterCondition.
| virtual std::string Teuchos::Condition::getTypeAttributeValue | ( | ) | const [pure virtual] |
Get the value that should be used for the condition type attribute when converting a condition to XML.
Implemented in Teuchos::NotCondition, Teuchos::EqualsCondition, Teuchos::AndCondition, Teuchos::OrCondition, Teuchos::BoolCondition, Teuchos::NumberCondition< T >, and Teuchos::StringCondition.
| static const std::string& Teuchos::Condition::getXMLTagName | ( | ) | [inline, static] |
Definition at line 120 of file Teuchos_Condition.hpp.
1.7.6.1