Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
A base class for scalar parameter values. More...
#include <Sacado_ScalarParameterEntry.hpp>
Public Types | |
typedef EvalTypeTraits::template apply < EvalType >::type | ScalarT |
Public Member Functions | |
ScalarParameterEntry () | |
Default constructor. More... | |
virtual | ~ScalarParameterEntry () |
Destructor. More... | |
virtual void | setValue (const ScalarT &value)=0 |
Set parameter this object represents to value. More... | |
virtual const ScalarT & | getValue () const =0 |
Get parameter value this object represents. More... | |
virtual double | getRealValue () const |
Get real parameter value. More... | |
virtual void | print (std::ostream &os) const |
Print entry. More... | |
Public Member Functions inherited from Sacado::AbstractScalarParameterEntry | |
AbstractScalarParameterEntry () | |
Default contructor. More... | |
virtual | ~AbstractScalarParameterEntry () |
Destructor. More... | |
virtual void | setRealValue (double value)=0 |
Set real parameter value. More... | |
A base class for scalar parameter values.
Definition at line 87 of file Sacado_ScalarParameterEntry.hpp.
typedef EvalTypeTraits::template apply<EvalType>::type Sacado::ScalarParameterEntry< EvalType, EvalTypeTraits >::ScalarT |
Definition at line 91 of file Sacado_ScalarParameterEntry.hpp.
|
inline |
Default constructor.
Definition at line 94 of file Sacado_ScalarParameterEntry.hpp.
|
inlinevirtual |
Destructor.
Definition at line 97 of file Sacado_ScalarParameterEntry.hpp.
|
pure virtual |
Set parameter this object represents to value.
Treat the set parameter as an independent for derivative computations (use setRealValue() otherwise).
Implemented in Sacado::ParameterRegistration< EvalType, EvalTypeTraits >.
|
pure virtual |
Get parameter value this object represents.
Implemented in Sacado::ParameterRegistration< EvalType, EvalTypeTraits >.
|
inlinevirtual |
Get real parameter value.
Default implementation should work in most cases.
Implements Sacado::AbstractScalarParameterEntry.
Definition at line 113 of file Sacado_ScalarParameterEntry.hpp.
|
inlinevirtual |
Print entry.
Default implementation should work in most cases.
Implements Sacado::AbstractScalarParameterEntry.
Definition at line 121 of file Sacado_ScalarParameterEntry.hpp.