Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
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 | ~ParameterAccessor () |
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) |
Private Types | |
typedef EvalTypeTraits::template apply < EvalType >::type | ScalarT |
Private Attributes | |
std::vector< Teuchos::RCP < ParameterRegistration < EvalType, EvalTypeTraits > > > | pr_ |
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.
Definition at line 50 of file Sacado_ParameterAccessor.hpp.
|
private |
Definition at line 52 of file Sacado_ParameterAccessor.hpp.
typedef ScalarParameterLibrary<EvalTypeTraits> Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::ParamLib |
Definition at line 56 of file Sacado_ParameterAccessor.hpp.
|
inlinevirtual |
Definition at line 58 of file Sacado_ParameterAccessor.hpp.
|
pure virtual |
Method that returns a reference to the parameter value given the name The ParameterLibrary call this method when a parameter value changes
|
inlinevirtual |
Method that returns a reference to the parameter value given the name The ParameterLibrary call this method when a parameter value changes
Definition at line 66 of file Sacado_ParameterAccessor.hpp.
void Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::registerSacadoParameter | ( | const std::string & | name, |
ParamLib & | paramLib | ||
) |
Definition at line 34 of file Sacado_ParameterAccessorImp.hpp.
void Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::registerSacadoParameter | ( | const std::string & | name, |
const Teuchos::RCP< ParamLib > & | paramLib | ||
) |
Definition at line 44 of file Sacado_ParameterAccessorImp.hpp.
|
private |
Definition at line 77 of file Sacado_ParameterAccessor.hpp.