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< const 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 (const I &ima, const typename I::psite &p) | |
Constructor. | |
I::value | to_value () const |
Explicit read access. | |
~proxy () | |
Destructor. | |
Protected Attributes | |
const 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< const I > >::category [inherited] |
Reimplemented from mln::Object< proxy< const I > >.
typedef void mln::value::proxy< const I >::enc |
Encoding associated type.
typedef I ::value mln::value::proxy< const I >::equiv |
Equivalent associated type.
typedef proxy< const I > mln::Object< proxy< const I > >::exact_t [inherited] |
mln::value::proxy< const I >::proxy | ( | const I & | ima, | |
const typename I::psite & | p | |||
) | [inline] |
Constructor.
mln::value::proxy< const I >::~proxy | ( | ) | [inline] |
Destructor.
mln::value::proxy< const I >::operator typename I::value | ( | ) | const [inline] |
Conversion (read access); precise version.
mln::value::proxy< const I >::operator V | ( | ) | const [inline] |
Conversion (read access); general version.
I::value mln::value::proxy< const I >::to_value | ( | ) | const [inline] |
Explicit read access.
const I& mln::value::proxy< const I >::ima_ [protected] |
I ::psite mln::value::proxy< const I >::p_ [protected] |