20 #ifndef LIBMESH_PARAMETER_ACCESSOR_H 21 #define LIBMESH_PARAMETER_ACCESSOR_H 55 template <
typename T=Number>
68 virtual void set (
const T & new_value) = 0;
73 virtual const T &
get ()
const = 0;
80 #ifdef LIBMESH_ENABLE_DEPRECATED 100 virtual std::unique_ptr<ParameterAccessor<T>>
clone()
const = 0;
103 template <
typename T=Number>
158 template <
typename T=Number>
185 #endif // LIBMESH_PARAMETER_ACCESSOR_H
ParameterProxy & operator*=(const T &value_multiplier)
ParameterProxy< T > operator*()
ParameterProxy & operator+=(const T &value_increment)
virtual ParameterAccessor< T > & operator=(T *)
ConstParameterProxy(const ParameterAccessor< T > &accessor)
const ParameterAccessor< T > & _accessor
ParameterProxy & operator-=(const T &value_decrement)
ParameterAccessor< T > & _accessor
ParameterProxy & operator=(const T &new_value)
ParameterProxy & operator/=(const T &value_divisor)
virtual std::unique_ptr< ParameterAccessor< T > > clone() const =0
virtual ~ParameterAccessor()
Base class for reading/writing sensitivity parameters.
ParameterProxy(ParameterAccessor< T > &accessor)