44#ifndef TEUCHOS_CONDITION_HPP_
45#define TEUCHOS_CONDITION_HPP_
52#include "Teuchos_Dependency.hpp"
53#include "Teuchos_Describable.hpp"
121 static const std::string
xmlTagName =
"Condition";
Replacement for std::vector that is compatible with the Teuchos Memory Management classes.
A Condition determines whether or not a particular set of conditions are currently occuring.
Condition()
Constructs a Condition.
virtual ~Condition()
Destructs a condition.
virtual Dependency::ConstParameterEntryList getAllParameters() const =0
Gets all of the parameters that are evaluated in this condition.
virtual bool containsAtLeasteOneParameter() const =0
Determines whether or not the evaluation of a parameter occurs somewhere in this condition.
virtual bool isConditionTrue() const =0
Determins whether or not a condition is true.
Teuchos::Array< Teuchos::RCP< Condition > > ConditionList
Convenience typedef for defining a list of conditions.
static const std::string & getXMLTagName()
virtual std::string getTypeAttributeValue() const =0
Get the value that should be used for the condition type attribute when converting a condition to XML...
std::set< RCP< const ParameterEntry >, RCPConstComp > ConstParameterEntryList
A list of dependents.
Base class for all objects that can describe themselves.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...