Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Teuchos::MultiplicationFunction< OperandType > Class Template Reference

A simple function object that multiplys a specififed value from the given arguement in the runFunction function. More...

#include <Teuchos_StandardFunctionObjects.hpp>

Inheritance diagram for Teuchos::MultiplicationFunction< OperandType >:
Inheritance graph
[legend]

Constructors/Destructors

 MultiplicationFunction ()
 Constructs a MultiplicationFunction. More...
 
 MultiplicationFunction (OperandType amountToMultiplyBy)
 Constructs a MultiplicationFunction. More...
 

Overridden from SimpleFunctionObject

OperandType runFunction (OperandType arguement) const
 

Overridden from FunctionObject

std::string getTypeAttributeValue () const
 

Additional Inherited Members

- Public Member Functions inherited from Teuchos::SimpleFunctionObject< OperandType >
 SimpleFunctionObject ()
 Constructs a SimpleFunctionObject. More...
 
 SimpleFunctionObject (OperandType modifyingOperand)
 Constructs a SimpleFunctionObject. More...
 
OperandType getModifiyingOperand () const
 Returns the modifying operand. More...
 
OperandType setModifyingOperand (OperandType newOperand)
 Sets the modifyingOperand. More...
 
- Public Member Functions inherited from Teuchos::FunctionObject
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 Return a simple one-line description of this object. More...
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Print the object with some verbosity level to a FancyOStream. More...
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 Version of describe() that takes an std::ostream instead of a FancyOStream. More...
 
virtual ~Describable ()
 Destructor (marked virtual for memory safety of derived classes). More...
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 Construct with an empty label. More...
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 Set the object label (see LabeledObject). More...
 
virtual std::string getObjectLabel () const
 Get the object label (see LabeledObject). More...
 
- Static Public Member Functions inherited from Teuchos::FunctionObject
static const std::string & getXMLTagName ()
 Returns the name of the XML tag used to indicate a funciton object. More...
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default = VERB_DEFAULT
 Default value for the verbLevel argument of describe(). More...
 

Detailed Description

template<class OperandType>
class Teuchos::MultiplicationFunction< OperandType >

A simple function object that multiplys a specififed value from the given arguement in the runFunction function.

Please see the MultiplicationFunctionXMLConverter for details on the XML representation of this fucntion object.

Definition at line 255 of file Teuchos_StandardFunctionObjects.hpp.

Constructor & Destructor Documentation

template<class OperandType >
Teuchos::MultiplicationFunction< OperandType >::MultiplicationFunction ( )
inline

Constructs a MultiplicationFunction.

Definition at line 266 of file Teuchos_StandardFunctionObjects.hpp.

template<class OperandType >
Teuchos::MultiplicationFunction< OperandType >::MultiplicationFunction ( OperandType  amountToMultiplyBy)
inline

Constructs a MultiplicationFunction.

Parameters
amountToMultiplyByThe amound to be by which the given arguement in the runFunction function should be multiplied.

Definition at line 275 of file Teuchos_StandardFunctionObjects.hpp.

Member Function Documentation

template<class OperandType >
OperandType Teuchos::MultiplicationFunction< OperandType >::runFunction ( OperandType  arguement) const
inlinevirtual
template<class OperandType >
std::string Teuchos::MultiplicationFunction< OperandType >::getTypeAttributeValue ( ) const
inlinevirtual

Implements Teuchos::FunctionObject.

Definition at line 297 of file Teuchos_StandardFunctionObjects.hpp.


The documentation for this class was generated from the following file: