Generic proxy class for an image pixel value. More...
#include <proxy.hh>
Public Types | |
typedef Value< void > | category |
typedef void | enc |
Encoding associated type. | |
typedef I::value | equiv |
Equivalent associated type. | |
typedef proxy< I > | exact_t |
Public Member Functions | |
operator typename I::value () const | |
Conversion (read access); precise version. | |
template<typename V > | |
operator V () const | |
Conversion (read access); general version. | |
proxy< I > & | operator= (const proxy< I > &rhs) |
Assignment (write access); replacement for default op. | |
template<typename II > | |
proxy< I > & | operator= (const proxy< II > &rhs) |
Assignment (write access); with other proxy. | |
template<typename V > | |
proxy< I > & | operator= (const V &v) |
Assignment (write access); general version. | |
proxy (I &ima, const typename I::psite &p) | |
Constructor. | |
I::value | to_value () const |
Explicit read access. | |
~proxy () | |
Destructor. | |
Protected Attributes | |
I & | ima_ |
I::psite | p_ |
Generic proxy class for an image pixel value.
The parameter I
is an image type.
typedef Value<void> mln::Value< proxy< I > >::category [inherited] |
Reimplemented from mln::Object< proxy< I > >.
typedef void mln::value::proxy< I >::enc |
Encoding associated type.
typedef I ::value mln::value::proxy< I >::equiv |
Equivalent associated type.
typedef proxy< I > mln::Object< proxy< I > >::exact_t [inherited] |
mln::value::proxy< I >::proxy | ( | I & | ima, | |
const typename I::psite & | p | |||
) | [inline] |
Constructor.
mln::value::proxy< I >::~proxy | ( | ) | [inline] |
Destructor.
mln::value::proxy< I >::operator typename I::value | ( | ) | const [inline] |
Conversion (read access); precise version.
Conversion (read access); general version.
proxy< I > & mln::value::proxy< I >::operator= | ( | const V & | v | ) | [inline] |
Assignment (write access); general version.
Referenced by mln::value::proxy< I >::operator=().
proxy< I > & mln::value::proxy< I >::operator= | ( | const proxy< I > & | rhs | ) | [inline] |
Assignment (write access); replacement for default op.
References mln::value::proxy< I >::operator=(), and mln::value::proxy< I >::to_value().
proxy< I > & mln::value::proxy< I >::operator= | ( | const proxy< II > & | rhs | ) | [inline] |
Assignment (write access); with other proxy.
References mln::value::proxy< I >::operator=(), and mln::value::proxy< I >::to_value().
I::value mln::value::proxy< I >::to_value | ( | ) | const [inline] |
Explicit read access.
Referenced by mln::value::proxy< I >::operator=(), and mln::value::operator==().
I& mln::value::proxy< I >::ima_ [protected] |
I ::psite mln::value::proxy< I >::p_ [protected] |