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...
 

Private Attributes

const ParameterAccessor< T > & _accessor
 

Detailed Description

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

Definition at line 37 of file parameter_accessor.h.

Constructor & Destructor Documentation

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

Constructor: which parameter are we a proxy for?

Definition at line 162 of file parameter_accessor.h.

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

Member Function Documentation

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

Getter: get the value of the parameter we access.

Definition at line 173 of file parameter_accessor.h.

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

173 { return _accessor.get(); }
const ParameterAccessor< T > & _accessor
template<typename T = Number>
libMesh::ConstParameterProxy< T >::operator T ( ) const

Getter: get the value of the parameter we access.

Definition at line 168 of file parameter_accessor.h.

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

Member Data Documentation

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

Definition at line 176 of file parameter_accessor.h.


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