Optika::ValidatorDependency Class Reference

#include <Optika_StandardDependencies.hpp>

Inheritance diagram for Optika::ValidatorDependency:
Inheritance graph
[legend]
Collaboration diagram for Optika::ValidatorDependency:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ValidatorDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, std::string dependentName, Teuchos::RCP< Teuchos::ParameterList > dependentParentList)
 ValidatorDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, ParameterParentMap dependents)
virtual ~ValidatorDependency ()
virtual void evaluate ()=0

Detailed Description

An abstract base class for all validator dependencies.


Constructor & Destructor Documentation

Optika::ValidatorDependency::ValidatorDependency ( std::string  dependeeName,
Teuchos::RCP< Teuchos::ParameterList >  dependeeParentList,
std::string  dependentName,
Teuchos::RCP< Teuchos::ParameterList >  dependentParentList 
)

Constructs a ValidatorDependency.

Parameters:
dependeeName The name of the dependee parameter.
dependeeParentList The ParameterList containing the dependee.
dependentName The name of the dependent parameter.
dependentParentList The ParameterList containing the dependent.
Optika::ValidatorDependency::ValidatorDependency ( std::string  dependeeName,
Teuchos::RCP< Teuchos::ParameterList >  dependeeParentList,
ParameterParentMap  dependents 
)

Constructs a ValidatorDependency.

Parameters:
dependeeName The name of the dependee parameter.
dependeeParentList The ParameterList containing the dependee.
dependents A map containing dependent Parameters associated with their paraent ParameterLists.
virtual Optika::ValidatorDependency::~ValidatorDependency (  )  [inline, virtual]

Desctructor

Simply declaring the descrutor as virtual.


Member Function Documentation

virtual void Optika::ValidatorDependency::evaluate (  )  [pure virtual]

Evaluates the dependency and makes any appropriate changes to the dependee based on the dependent.

Implements Optika::Dependency.

Implemented in Optika::StringValidatorDependency, Optika::BoolValidatorDependency, and Optika::RangeValidatorDependency< S >.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations
Generated on Wed Apr 13 10:05:55 2011 for Optika by  doxygen 1.6.3