ome-files
0.5.0
|
Proxy for getting and setting a Field value. More...
#include <ome/files/tiff/Field.h>
Public Types | |
typedef V | value_type |
The value type being wrapped. | |
Public Member Functions | |
ValueProxy (value_type &value) | |
Construct from value. More... | |
~ValueProxy () | |
Destructor. | |
ValueProxy & | operator= (const ValueProxy &value) |
Assign from a ValueProxy. More... | |
ValueProxy & | operator= (const value_type &value) |
Assign from value_type. More... | |
template<typename F > | |
ValueProxy & | operator= (const Field< F > &field) |
Assign from Field. More... | |
value_type & | get () |
Get the wrapped value. More... | |
const value_type & | get () const |
Get the wrapped value. More... | |
Private Attributes | |
V & | value |
The wrapped value. | |
Proxy for getting and setting a Field value.
This wraps a value to allow it to be assigned a value from a Field as the left hand side of an expression.
|
inlineexplicit |
Construct from value.
value | the value to wrap. |
|
inline |
Get the wrapped value.
|
inline |
Get the wrapped value.
|
inline |
Assign from a ValueProxy.
value | the value to assign. |
References ome::files::tiff::ValueProxy< V >::value.
|
inline |
|
inline |
Assign from Field.
field | the field to assign. |
References ome::files::tiff::Field< Tag >::get().