|
Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An abstract base class for all dependencies which modify the dimensional attributes of an Array parameter. More...
#include <Teuchos_StandardDependencies.hpp>

Constructor(s) | |
| ArrayModifierDependency (RCP< const ParameterEntry > dependee, RCP< ParameterEntry > dependent, RCP< const SimpleFunctionObject< DependeeType > > func=null) | |
| Constructs an ArrayModifierDependency. | |
| ArrayModifierDependency (RCP< const ParameterEntry > dependee, ParameterEntryList dependents, RCP< const SimpleFunctionObject< DependeeType > > func=null) | |
| Constructs an ArrayModifierDependency. | |
Getters | |
| RCP< const SimpleFunctionObject < DependeeType > > | getFunctionObject () const |
| Retrieves the function being used to calculate the amount by which an arrays dimensional attribute should be modified. | |
Overridden from Dependency | |
| virtual void | evaluate () |
| | |
| virtual void | validateDep () const |
| | |
Pure virtual functions | |
| virtual void | modifyArray (DependeeType newAmount, RCP< ParameterEntry > dependentToModify)=0 |
| Modifies a particular attribute of the array according to the specific semantics of the dependency. | |
| virtual std::string | getBadDependentValueErrorMessage () const =0 |
| Returns the error message that should be displayed if the dependent has taken on a value that, when run through the funciton given in the constructor, returns a negative value. | |
Private Members | |
| RCP< const SimpleFunctionObject < DependeeType > > | func_ |
| The function used to calculate the amount by which an arrays dimensional attribute should be modified. | |
An abstract base class for all dependencies which modify the dimensional attributes of an Array parameter.
Definition at line 865 of file Teuchos_StandardDependencies.hpp.
| Teuchos::ArrayModifierDependency< DependeeType, DependentType >::ArrayModifierDependency | ( | RCP< const ParameterEntry > | dependee, |
| RCP< ParameterEntry > | dependent, | ||
| RCP< const SimpleFunctionObject< DependeeType > > | func = null |
||
| ) |
Constructs an ArrayModifierDependency.
| dependee | The dependee parameter. |
| dependent | The dependent parameter. |
| func | The function to be used when calculating the amount an array dimension should be modified. |
Definition at line 965 of file Teuchos_StandardDependencies.hpp.
| Teuchos::ArrayModifierDependency< DependeeType, DependentType >::ArrayModifierDependency | ( | RCP< const ParameterEntry > | dependee, |
| ParameterEntryList | dependents, | ||
| RCP< const SimpleFunctionObject< DependeeType > > | func = null |
||
| ) |
Constructs an ArrayModifierDependency.
| dependee | The dependee parameter. |
| dependents | The dependent parameter. |
| func | The function to be used when calculating the amount an array dimension should be modified. |
Definition at line 974 of file Teuchos_StandardDependencies.hpp.
| RCP<const SimpleFunctionObject<DependeeType> > Teuchos::ArrayModifierDependency< DependeeType, DependentType >::getFunctionObject | ( | ) | const [inline] |
Retrieves the function being used to calculate the amount by which an arrays dimensional attribute should be modified.
Definition at line 907 of file Teuchos_StandardDependencies.hpp.
| void Teuchos::ArrayModifierDependency< DependeeType, DependentType >::evaluate | ( | ) | [virtual] |
Implements Teuchos::Dependency.
Definition at line 995 of file Teuchos_StandardDependencies.hpp.
| void Teuchos::ArrayModifierDependency< DependeeType, DependentType >::validateDep | ( | ) | const [protected, virtual] |
Implements Teuchos::Dependency.
Reimplemented in Teuchos::TwoDArrayModifierDependency< DependeeType, DependentType >, and Teuchos::NumberArrayLengthDependency< DependeeType, DependentType >.
Definition at line 983 of file Teuchos_StandardDependencies.hpp.
| virtual void Teuchos::ArrayModifierDependency< DependeeType, DependentType >::modifyArray | ( | DependeeType | newAmount, |
| RCP< ParameterEntry > | dependentToModify | ||
| ) | [protected, pure virtual] |
Modifies a particular attribute of the array according to the specific semantics of the dependency.
| newAmount | The new value of the attribute which is being modified. |
| dependentToModify | The dependent containing the array to be modified. |
Implemented in Teuchos::TwoDColDependency< DependeeType, DependentType >, Teuchos::TwoDRowDependency< DependeeType, DependentType >, and Teuchos::NumberArrayLengthDependency< DependeeType, DependentType >.
| virtual std::string Teuchos::ArrayModifierDependency< DependeeType, DependentType >::getBadDependentValueErrorMessage | ( | ) | const [protected, pure virtual] |
Returns the error message that should be displayed if the dependent has taken on a value that, when run through the funciton given in the constructor, returns a negative value.
Implemented in Teuchos::TwoDColDependency< DependeeType, DependentType >, Teuchos::TwoDRowDependency< DependeeType, DependentType >, and Teuchos::NumberArrayLengthDependency< DependeeType, DependentType >.
RCP<const SimpleFunctionObject<DependeeType> > Teuchos::ArrayModifierDependency< DependeeType, DependentType >::func_ [private] |
The function used to calculate the amount by which an arrays dimensional attribute should be modified.
Definition at line 959 of file Teuchos_StandardDependencies.hpp.
1.7.6.1