Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An abstract base class for all validator dependencies. More...
#include <Teuchos_StandardDependencies.hpp>
Constructors/Destructor | |
ValidatorDependency (RCP< const ParameterEntry > dependee, RCP< ParameterEntry > dependent) | |
Constructs a ValidatorDependency. More... | |
ValidatorDependency (RCP< const ParameterEntry > dependee, ParameterEntryList dependents) | |
Constructs a ValidatorDependency. More... | |
Overridden from Dependency | |
virtual void | evaluate ()=0 |
Additional Inherited Members | |
Public Types inherited from Teuchos::Dependency | |
typedef std::set< RCP < ParameterEntry >, RCPComp > | ParameterEntryList |
A list of Dependees. More... | |
typedef std::set< RCP< const ParameterEntry >, RCPConstComp > | ConstParameterEntryList |
A list of dependents. More... | |
Public Member Functions inherited from Teuchos::Dependency | |
Dependency (ConstParameterEntryList dependees, ParameterEntryList dependents) | |
Constructs a Dependency. More... | |
Dependency (ConstParameterEntryList dependees, RCP< ParameterEntry > dependent) | |
Constructs a Dependency. More... | |
Dependency (RCP< const ParameterEntry > dependee, ParameterEntryList dependents) | |
Constructs a Dependency. More... | |
Dependency (RCP< const ParameterEntry > dependee, RCP< ParameterEntry > dependent) | |
Constructs a Dependency. More... | |
const ConstParameterEntryList & | getDependees () const |
Gets the dependees of the dependency. More... | |
ParameterEntryList & | getDependents () |
Gets the dependents of the dependency. More... | |
const ConstParameterEntryList & | getDependents () const |
Gets the dependents of the dependency. More... | |
RCP< const ParameterEntry > | getFirstDependee () const |
Gets the first dependee in the dependees list. This is a convience function. More... | |
template<class S > | |
S | getFirstDependeeValue () const |
Convienence function. Returns the first dependee in the list of dependees. More... | |
virtual std::string | getTypeAttributeValue () const =0 |
Returns the string to be used for the value of the type attribute when converting the dependency to XML. More... | |
virtual void | print (std::ostream &out) const |
prints out information about the dependency. More... | |
Public Member Functions inherited from Teuchos::Describable | |
virtual std::string | description () const |
Return a simple one-line description of this object. More... | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Print the object with some verbosity level to a FancyOStream. More... | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Version of describe() that takes an std::ostream instead of a FancyOStream. More... | |
virtual | ~Describable () |
Destructor (marked virtual for memory safety of derived classes). More... | |
Public Member Functions inherited from Teuchos::LabeledObject | |
LabeledObject () | |
Construct with an empty label. More... | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
Set the object label (see LabeledObject). More... | |
virtual std::string | getObjectLabel () const |
Get the object label (see LabeledObject). More... | |
Static Public Member Functions inherited from Teuchos::Dependency | |
static const std::string & | getXMLTagName () |
Returns the XML tag to use when serializing Dependencies. More... | |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). More... | |
Protected Member Functions inherited from Teuchos::Dependency | |
virtual void | validateDep () const =0 |
Validates the dependency to make sure it's valid/has been setup properly. If subclassing, this fucntion should be called in the new subclasses constructor. More... | |
Related Functions inherited from Teuchos::Describable | |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
Describable output stream manipulator. More... | |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Output stream operator for Describable manipulator. More... | |
An abstract base class for all validator dependencies.
Definition at line 192 of file Teuchos_StandardDependencies.hpp.
Teuchos::ValidatorDependency::ValidatorDependency | ( | RCP< const ParameterEntry > | dependee, |
RCP< ParameterEntry > | dependent | ||
) |
Constructs a ValidatorDependency.
dependee | The dependee parameter. |
dependent | The dependent parameter. |
Definition at line 104 of file Teuchos_StandardDependencies.cpp.
Teuchos::ValidatorDependency::ValidatorDependency | ( | RCP< const ParameterEntry > | dependee, |
ParameterEntryList | dependents | ||
) |
Constructs a ValidatorDependency.
dependee | The dependee parameter. |
dependents | The dependents. |
Definition at line 109 of file Teuchos_StandardDependencies.cpp.
|
pure virtual |
Implements Teuchos::Dependency.
Implemented in Teuchos::RangeValidatorDependency< T >, Teuchos::BoolValidatorDependency, and Teuchos::StringValidatorDependency.