|
Optika Development
|
#include <Optika_StandardDependencies.hpp>


Public Types | |
| enum | ValidatorAspect { Min, Max, Step } |
Public Member Functions | |
| NumberValidatorAspectDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, std::string dependentName, Teuchos::RCP< Teuchos::ParameterList > dependentParentList, Teuchos::RCP< Optika::EnhancedNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| NumberValidatorAspectDependency (std::string dependeeName, std::string dependentName, Teuchos::RCP< Teuchos::ParameterList > parentList, Teuchos::RCP< Optika::EnhancedNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| NumberValidatorAspectDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, std::string dependentName, Teuchos::RCP< Teuchos::ParameterList > dependentParentList, Teuchos::RCP< Optika::ArrayNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| NumberValidatorAspectDependency (std::string dependeeName, std::string dependentName, Teuchos::RCP< Teuchos::ParameterList > parentList, Teuchos::RCP< Optika::ArrayNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| NumberValidatorAspectDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, ParameterParentMap dependents, Teuchos::RCP< Optika::EnhancedNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| NumberValidatorAspectDependency (std::string dependeeName, Teuchos::RCP< Teuchos::ParameterList > dependeeParentList, ParameterParentMap dependents, Teuchos::RCP< Optika::ArrayNumberValidator< S > > validator, ValidatorAspect aspect, S(*func)(S)=0) | |
| void | evaluate () |
A NumberValidatorAspectDependency says the following about the relationship between two parameters in a dependent parameter list: depending of the value of the dependee a particular aspect of the dependents validator will have a certain value.
A NumberValidatorAspectDependency must have the following characteristics:
| enum Optika::NumberValidatorAspectDependency::ValidatorAspect |
An enum specifying the aspect of the validator that should be modified
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| Teuchos::RCP< Teuchos::ParameterList > | dependeeParentList, | ||
| std::string | dependentName, | ||
| Teuchos::RCP< Teuchos::ParameterList > | dependentParentList, | ||
| Teuchos::RCP< Optika::EnhancedNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency
| 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. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| std::string | dependentName, | ||
| Teuchos::RCP< Teuchos::ParameterList > | parentList, | ||
| Teuchos::RCP< Optika::EnhancedNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency
| dependeeName | The name of the dependee parameter. |
| dependentName | The name of the dependent parameter. |
| parentList | The ParameterList containing the dependent and the dependee. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| Teuchos::RCP< Teuchos::ParameterList > | dependeeParentList, | ||
| std::string | dependentName, | ||
| Teuchos::RCP< Teuchos::ParameterList > | dependentParentList, | ||
| Teuchos::RCP< Optika::ArrayNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency. Conveniece Constructor for ArrayNumberValidators
| 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. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| std::string | dependentName, | ||
| Teuchos::RCP< Teuchos::ParameterList > | parentList, | ||
| Teuchos::RCP< Optika::ArrayNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency. Conveniece Constructor for ArrayNumberValidators
| dependeeName | The name of the dependee parameter. |
| dependentName | The name of the dependent parameter. |
| parentList | The ParameterList containing the dependent and the dependee. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| Teuchos::RCP< Teuchos::ParameterList > | dependeeParentList, | ||
| ParameterParentMap | dependents, | ||
| Teuchos::RCP< Optika::EnhancedNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency
| dependeeName | The name of the dependee parameter. |
| dependeeParentList | The ParameterList containing the dependee. |
| dependents | A map containing dependent Parameters associated with their paraent ParameterLists. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| Optika::NumberValidatorAspectDependency< S >::NumberValidatorAspectDependency | ( | std::string | dependeeName, |
| Teuchos::RCP< Teuchos::ParameterList > | dependeeParentList, | ||
| ParameterParentMap | dependents, | ||
| Teuchos::RCP< Optika::ArrayNumberValidator< S > > | validator, | ||
| ValidatorAspect | aspect, | ||
| S(*)(S) | func = 0 |
||
| ) | [inline] |
Constructs a NumberValidatorDependency. Conveniece Constructor for ArrayNumberValidators
| dependeeName | The name of the dependee parameter. |
| dependeeParentList | The ParameterList containing the dependee. |
| dependents | A map containing dependent Parameters associated with their paraent ParameterLists. |
| validator | The validator whose aspect will change. |
| aspect | The aspect of the validator that should change. |
| func | A function specifying how the value of the validators aspect should be calculated from the dependees value. |
| void Optika::NumberValidatorAspectDependency< S >::evaluate | ( | ) | [inline, virtual] |
Evaluates the dependency and makes any appropriate changes to the dependee based on the dependent.
Implements Optika::Dependency.
1.7.4