$extrastylesheet
#include <parameter_accessor.h>
Public Member Functions | |
| ParameterProxy (ParameterAccessor< T > &accessor) | |
| ParameterProxy & | operator= (const T &new_value) |
| ParameterProxy & | operator= (const ParameterProxy< T > &new_value) |
| ParameterProxy & | operator= (const ConstParameterProxy< T > &new_value) |
| ParameterProxy & | operator+= (const T &value_increment) |
| ParameterProxy & | operator-= (const T &value_decrement) |
| ParameterProxy & | operator*= (const T &value_multiplier) |
| ParameterProxy & | operator/= (const T &value_divisor) |
| operator T () const | |
Private Attributes | |
| ParameterAccessor< T > & | _accessor |
Definition at line 86 of file parameter_accessor.h.
| libMesh::ParameterProxy< T >::ParameterProxy | ( | ParameterAccessor< T > & | accessor | ) | [inline] |
Constructor: which parameter are we a proxy for?
Definition at line 92 of file parameter_accessor.h.
: _accessor(accessor) {}
| libMesh::ParameterProxy< T >::operator T | ( | ) | const [inline] |
Getter: get the value of the parameter we access.
Definition at line 133 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
{ return _accessor.get(); }
| ParameterProxy& libMesh::ParameterProxy< T >::operator*= | ( | const T & | value_multiplier | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 123 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
| ParameterProxy& libMesh::ParameterProxy< T >::operator+= | ( | const T & | value_increment | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 113 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
| ParameterProxy& libMesh::ParameterProxy< T >::operator-= | ( | const T & | value_decrement | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 118 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
| ParameterProxy& libMesh::ParameterProxy< T >::operator/= | ( | const T & | value_divisor | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 128 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
| ParameterProxy& libMesh::ParameterProxy< T >::operator= | ( | const T & | new_value | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 98 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
{ _accessor.set(new_value); return *this; }
| ParameterProxy& libMesh::ParameterProxy< T >::operator= | ( | const ParameterProxy< T > & | new_value | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 103 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor.
{ _accessor.set(new_value.get()); }
| ParameterProxy& libMesh::ParameterProxy< T >::operator= | ( | const ConstParameterProxy< T > & | new_value | ) | [inline] |
Setter: change the value of the parameter we access.
Definition at line 108 of file parameter_accessor.h.
References libMesh::ParameterProxy< T >::_accessor, and libMesh::ConstParameterProxy< T >::get().
{ _accessor.set(new_value.get()); return *this; }
ParameterAccessor<T>& libMesh::ParameterProxy< T >::_accessor [private] |
Definition at line 136 of file parameter_accessor.h.
Referenced by libMesh::ParameterProxy< T >::operator T(), libMesh::ParameterProxy< T >::operator*=(), libMesh::ParameterProxy< T >::operator+=(), libMesh::ParameterProxy< T >::operator-=(), libMesh::ParameterProxy< T >::operator/=(), and libMesh::ParameterProxy< T >::operator=().