Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
Sacado::ParameterAccessor< EvalType, EvalTypeTraits > Class Template Referenceabstract

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 &paramLib)
 
void registerSacadoParameter (const std::string &name, const Teuchos::RCP< ParamLib > &paramLib)
 

Detailed Description

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

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.

Member Function Documentation

template<typename EvalType, typename EvalTypeTraits = DefaultEvalTypeTraits>
virtual ScalarT& Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::getValue ( const std::string &  n)
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().

template<typename EvalType, typename EvalTypeTraits = DefaultEvalTypeTraits>
virtual void Sacado::ParameterAccessor< EvalType, EvalTypeTraits >::setValue ( const std::string &  n,
const ScalarT &  v 
)
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().


The documentation for this class was generated from the following files: