|
Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
Parameter class for simple registration of a parameter with a Parameter Library. Requires a parameter name a ParameterAccessor object. More...
#include <Sacado_ParameterRegistration.hpp>
Public Types | |
| typedef ScalarParameterLibrary< EvalTypeTraits > | ParamLib |
Public Member Functions | |
| ParameterRegistration (const std::string &name_, ParameterAccessor< EvalType, EvalTypeTraits > *access_, ParamLib ¶mLib) | |
| Constructor: Registers the parameter with the Parameter Library. More... | |
| ParameterRegistration (const std::string &name_, ParameterAccessor< EvalType, EvalTypeTraits > *access_, const Teuchos::RCP< ParamLib > ¶mLib) | |
| Constructor: Registers the parameter with the Parameter Library. More... | |
| virtual | ~ParameterRegistration () |
| Destructor. More... | |
| virtual void | setRealValue (double value) |
| Set real parameter value. More... | |
| virtual void | setValue (const ScalarT &value) |
| Set parameter values using ParameterAccessor. More... | |
| virtual const ScalarT & | getValue () const |
| Get parameter value using ParameterAccessor. More... | |
Protected Attributes | |
| ParameterAccessor< EvalType, EvalTypeTraits > * | access |
| Pointer to source function. More... | |
| const std::string | name |
Private Types | |
| typedef EvalTypeTraits::template apply< EvalType >::type | ScalarT |
| Scalar type. More... | |
Parameter class for simple registration of a parameter with a Parameter Library. Requires a parameter name a ParameterAccessor object.
Definition at line 46 of file Sacado_ParameterRegistration.hpp.
|
private |
Scalar type.
Definition at line 50 of file Sacado_ParameterRegistration.hpp.
| typedef ScalarParameterLibrary<EvalTypeTraits> Sacado::ParameterRegistration< EvalType, EvalTypeTraits >::ParamLib |
Definition at line 55 of file Sacado_ParameterRegistration.hpp.
|
inline |
Constructor: Registers the parameter with the Parameter Library.
Definition at line 58 of file Sacado_ParameterRegistration.hpp.
|
inline |
Constructor: Registers the parameter with the Parameter Library.
Definition at line 70 of file Sacado_ParameterRegistration.hpp.
|
inlinevirtual |
Destructor.
Definition at line 85 of file Sacado_ParameterRegistration.hpp.
|
inlinevirtual |
Set real parameter value.
Definition at line 88 of file Sacado_ParameterRegistration.hpp.
|
inlinevirtual |
Set parameter values using ParameterAccessor.
Definition at line 92 of file Sacado_ParameterRegistration.hpp.
|
inlinevirtual |
Get parameter value using ParameterAccessor.
Definition at line 97 of file Sacado_ParameterRegistration.hpp.
|
protected |
Pointer to source function.
Definition at line 104 of file Sacado_ParameterRegistration.hpp.
|
protected |
Definition at line 105 of file Sacado_ParameterRegistration.hpp.