Sacado
Development
|
Abstract class that provides access to a parameter value in a code for the parameter library. An object of this type is required to construct a ParameterRegistration object. More...
#include <Sacado_ParameterAccessor.hpp>
Public Types | |
typedef ScalarParameterLibrary < EvalTypeTraits > | ParamLib |
Public Member Functions | |
virtual ScalarT & | getValue (const std::string &n)=0 |
virtual void | setValue (const std::string &n, const ScalarT &v) |
void | registerSacadoParameter (const std::string &name, ParamLib ¶mLib) |
void | registerSacadoParameter (const std::string &name, const Teuchos::RCP< ParamLib > ¶mLib) |
Abstract class that provides access to a parameter value in a code for the parameter library. An object of this type is required to construct a ParameterRegistration object.
|
pure virtual |
Method that returns a reference to the parameter value given the name The ParameterLibrary call this method when a parameter value changes
Referenced by Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::setValue().
|
inlinevirtual |
Method that returns a reference to the parameter value given the name The ParameterLibrary call this method when a parameter value changes
References Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::getValue().