|
Teuchos - Trilinos Tools Package
Version of the Day
|
A simple function object that adds a specififed value from the given arguement in the runFunction function. More...
#include <Teuchos_StandardFunctionObjects.hpp>
Public Member Functions | |
Constructors/Destructors | |
| AdditionFunction () | |
| Constructs a AdditionFunction. | |
| AdditionFunction (OperandType amountToAdd) | |
| Constructs a AdditionFunction. | |
Overridden from SimpleFunctionObject | |
| OperandType | runFunction (OperandType arguement) const |
| | |
Overridden from FunctionObject | |
| std::string | getTypeAttributeValue () const |
| | |
A simple function object that adds a specififed value from the given arguement in the runFunction function.
Please see the AdditionFunctionXMLConverter for details on the XML representation of this fucntion object.
Definition at line 196 of file Teuchos_StandardFunctionObjects.hpp.
| Teuchos::AdditionFunction< OperandType >::AdditionFunction | ( | ) | [inline] |
Constructs a AdditionFunction.
Definition at line 206 of file Teuchos_StandardFunctionObjects.hpp.
| Teuchos::AdditionFunction< OperandType >::AdditionFunction | ( | OperandType | amountToAdd | ) | [inline] |
Constructs a AdditionFunction.
| amountToAdd | The amound to be added to a given arguement in the runFunction function. |
Definition at line 214 of file Teuchos_StandardFunctionObjects.hpp.
| OperandType Teuchos::AdditionFunction< OperandType >::runFunction | ( | OperandType | arguement | ) | const [inline, virtual] |
Implements Teuchos::SimpleFunctionObject< OperandType >.
Definition at line 223 of file Teuchos_StandardFunctionObjects.hpp.
| std::string Teuchos::AdditionFunction< OperandType >::getTypeAttributeValue | ( | ) | const [inline, virtual] |
Implements Teuchos::FunctionObject.
Definition at line 236 of file Teuchos_StandardFunctionObjects.hpp.
1.7.6.1