Optika Development
Public Member Functions
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:
dependeeNameThe name of the dependee parameter.
dependeeParentListThe ParameterList containing the dependee.
dependentNameThe name of the dependent parameter.
dependentParentListThe ParameterList containing the dependent.
Optika::ValidatorDependency::ValidatorDependency ( std::string  dependeeName,
Teuchos::RCP< Teuchos::ParameterList >  dependeeParentList,
ParameterParentMap  dependents 
)

Constructs a ValidatorDependency.

Parameters:
dependeeNameThe name of the dependee parameter.
dependeeParentListThe ParameterList containing the dependee.
dependentsA 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