libMesh::ConstParameterProxy< T > Class Template Reference

#include <parameter_accessor.h>

Public Member Functions

 ConstParameterProxy (const ParameterAccessor< T > &accessor)
 
 operator T () const
 
get () const
 

Private Attributes

const ParameterAccessor< T > & _accessor
 

Detailed Description

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

Definition at line 40 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 165 of file parameter_accessor.h.

166  : _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 176 of file parameter_accessor.h.

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

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

176 { return _accessor.get(); }
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 171 of file parameter_accessor.h.

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

171 { 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: