|
Teuchos - Trilinos Tools Package Version of the Day
|
A Bool Logic Condition that returns the result or perfroming a logical OR on the conditions. More...
#include <Teuchos_StandardConditions.hpp>
Public Member Functions | |
Constructors/Destructor | |
| OrCondition (ConstConditionList &conditions) | |
| Constructs an Or Condition. | |
| virtual | ~OrCondition () |
| Deconstructs an Or Condition. | |
Overridden from Condition | |
| std::string | getTypeAttributeValue () const |
| Get the value that should be used for the condition type attribute when converting a condition to XML. | |
Overridden from BoolLogicCondition | |
| bool | applyOperator (bool op1, bool op2) const |
Public Member Functions inherited from Teuchos::BoolLogicCondition | |
| BoolLogicCondition (ConstConditionList &conditions) | |
| Constructs a BoolLogicCondition. | |
| virtual | ~BoolLogicCondition () |
| Deconstructor for a BoolLogicCondition. | |
| void | addCondition (RCP< const Condition > toAdd) |
| Adds a Condition to the list of conditions that will be evaluated by this Bool Logic Condition. | |
| const ConstConditionList & | getConditions () const |
| Gets a list of all conditions that are a part of this BoolLogicCondition/. | |
| virtual bool | isConditionTrue () const |
| bool | containsAtLeasteOneParameter () const |
| Dependency::ConstParameterEntryList | getAllParameters () const |
Public Member Functions inherited from Teuchos::Condition | |
| Condition () | |
| Constructs a Condition. | |
| virtual | ~Condition () |
| Destructs a condition. | |
Public Member Functions inherited from Teuchos::Describable | |
| virtual std::string | description () const |
| Return a simple one-line description of this object. | |
| virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| Print the object with some verbosity level to a FancyOStream. | |
| void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
| Version of describe() that takes an std::ostream instead of a FancyOStream. | |
| virtual | ~Describable () |
| Destructor (marked virtual for memory safety of derived classes). | |
Public Member Functions inherited from Teuchos::LabeledObject | |
| LabeledObject () | |
| Construct with an empty label. | |
| virtual | ~LabeledObject () |
| virtual void | setObjectLabel (const std::string &objectLabel) |
| Set the object label (see LabeledObject). | |
| virtual std::string | getObjectLabel () const |
| Get the object label (see LabeledObject). | |
Additional Inherited Members | |
Public Types inherited from Teuchos::Condition | |
| typedef Teuchos::Array< Teuchos::RCP< Condition > > | ConditionList |
| Convenience typedef for defining a list of conditions. | |
Static Public Member Functions inherited from Teuchos::Condition | |
| static const std::string & | getXMLTagName () |
Static Public Attributes inherited from Teuchos::Describable | |
| static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). | |
Related Symbols inherited from Teuchos::Describable | |
| DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
| Describable output stream manipulator. | |
| std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
| Output stream operator for Describable manipulator. | |
A Bool Logic Condition that returns the result or perfroming a logical OR on the conditions.
Please see OrConditionConverter for documenation regarding the XML representation of this condition.
Definition at line 504 of file Teuchos_StandardConditions.hpp.
| Teuchos::OrCondition::OrCondition | ( | ConstConditionList & | conditions | ) |
Constructs an Or Condition.
| conditions | The conditions to be evaluated. |
Definition at line 86 of file Teuchos_StandardConditions.cpp.
|
inlinevirtual |
Deconstructs an Or Condition.
Definition at line 521 of file Teuchos_StandardConditions.hpp.
|
inlinevirtual |
Get the value that should be used for the condition type attribute when converting a condition to XML.
Implements Teuchos::Condition.
Definition at line 528 of file Teuchos_StandardConditions.hpp.
Implements Teuchos::BoolLogicCondition.
Definition at line 89 of file Teuchos_StandardConditions.cpp.