Sacado::ParameterRegistration< EvalType, EvalTypeTraits > Class Template Reference

Parameter class for simple registration of a parameter with a Parameter Library. Requires a parameter name a ParameterAccessor object. More...

#include <Sacado_ParameterRegistration.hpp>

Inheritance diagram for Sacado::ParameterRegistration< EvalType, EvalTypeTraits >:

Inheritance graph
[legend]
Collaboration diagram for Sacado::ParameterRegistration< EvalType, EvalTypeTraits >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ParameterRegistration (const std::string &name_, ParameterAccessor< EvalType, EvalTypeTraits > *access_, Teuchos::RCP< ParamLib > paramLib)
 Constructor: Registers the parameter with the Parameter Library.
virtual ~ParameterRegistration ()
 Destructor.
virtual void setRealValue (double value)
 Set real parameter value.
virtual void setValue (const ScalarT &value)
 Set parameter values using ParameterAccessor.
virtual const ScalarT & getValue () const
 Get parameter value using ParameterAccessor.

Protected Attributes

ParameterAccessor< EvalType,
EvalTypeTraits > * 
access
 Pointer to source function.
const std::string name

Detailed Description

template<typename EvalType, typename EvalTypeTraits = DefaultEvalTypeTraits>
class Sacado::ParameterRegistration< EvalType, EvalTypeTraits >

Parameter class for simple registration of a parameter with a Parameter Library. Requires a parameter name a ParameterAccessor object.


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:38:06 2010 for Sacado by  doxygen 1.4.7