libMesh
Public Member Functions | Private Attributes | List of all members
libMesh::ConstParameterProxy< T > Class Template Reference

#include <parameter_accessor.h>

Public Member Functions

 ConstParameterProxy (const ParameterAccessor< T > &accessor)
 Constructor: which parameter are we a proxy for? More...
 
 operator T () const
 Getter: get the value of the parameter we access. More...
 
get () const
 Getter: get the value of the parameter we access. More...
 
 operator boost::multiprecision::backends::float128_backend () const
 

Private Attributes

const ParameterAccessor< T > & _accessor
 

Detailed Description

template<typename T = Number>
class libMesh::ConstParameterProxy< T >

Definition at line 39 of file parameter_accessor.h.

Constructor & Destructor Documentation

◆ ConstParameterProxy()

template<typename T = Number>
libMesh::ConstParameterProxy< T >::ConstParameterProxy ( const ParameterAccessor< T > &  accessor)
inline

Constructor: which parameter are we a proxy for?

Definition at line 163 of file parameter_accessor.h.

164  : _accessor(accessor) {}
const ParameterAccessor< T > & _accessor

Member Function Documentation

◆ get()

template<typename T = Number>
T libMesh::ConstParameterProxy< T >::get ( ) const
inline

Getter: get the value of the parameter we access.

Definition at line 174 of file parameter_accessor.h.

References libMesh::ConstParameterProxy< T >::_accessor.

Referenced by libMesh::ParameterProxy< T >::operator=().

174 { return _accessor.get(); }
const ParameterAccessor< T > & _accessor

◆ operator boost::multiprecision::backends::float128_backend()

template<typename T = Number>
libMesh::ConstParameterProxy< T >::operator boost::multiprecision::backends::float128_backend ( ) const
inline

Definition at line 177 of file parameter_accessor.h.

References libMesh::ConstParameterProxy< T >::_accessor.

177 { return _accessor.get().backend(); }
const ParameterAccessor< T > & _accessor

◆ operator T()

template<typename T = Number>
libMesh::ConstParameterProxy< T >::operator T ( ) const
inline

Getter: get the value of the parameter we access.

Definition at line 169 of file parameter_accessor.h.

References libMesh::ConstParameterProxy< T >::_accessor.

169 { return _accessor.get(); }
const ParameterAccessor< T > & _accessor

Member Data Documentation

◆ _accessor

template<typename T = Number>
const ParameterAccessor<T>& libMesh::ConstParameterProxy< T >::_accessor
private

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