|
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 30 of file Sacado_ParameterAccessor.hpp.
|
private |
Definition at line 32 of file Sacado_ParameterAccessor.hpp.
| typedef ScalarParameterLibrary<EvalTypeTraits> Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::ParamLib |
Definition at line 36 of file Sacado_ParameterAccessor.hpp.
|
inlinevirtual |
Definition at line 38 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 46 of file Sacado_ParameterAccessor.hpp.
| void Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::registerSacadoParameter | ( | const std::string & | name, |
| ParamLib & | paramLib | ||
| ) |
Definition at line 14 of file Sacado_ParameterAccessorImp.hpp.
| void Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::registerSacadoParameter | ( | const std::string & | name, |
| const Teuchos::RCP< ParamLib > & | paramLib | ||
| ) |
Definition at line 24 of file Sacado_ParameterAccessorImp.hpp.
|
private |
Definition at line 57 of file Sacado_ParameterAccessor.hpp.
1.8.5