Public Types | Public Member Functions

mln::value::proxy< I > Class Template Reference

Generic proxy class for an image pixel value. More...

#include <proxy.hh>

Inheritance diagram for mln::value::proxy< I >:
Inheritance graph

List of all members.

Public Types

typedef void enc
 Encoding associated type.
typedef I::value equiv
 Equivalent associated type.

Public Member Functions

proxy< I > & operator= (const proxy< I > &rhs)
 Assignment (write access); replacement for default op.
template<typename J >
proxy< I > & operator= (const proxy< J > &rhs)
 Assignment (write access); with other proxy.
 proxy ()
 Constructor.
 proxy (I &ima, const typename I::psite &p)
 Constructor.
I::value to_value () const
 Explicit read access.
 ~proxy ()
 Destructor.

Detailed Description

template<typename I>
class mln::value::proxy< I >

Generic proxy class for an image pixel value.

The parameter I is an image type.

Definition at line 85 of file value/proxy.hh.


Member Typedef Documentation

template<typename I>
typedef void mln::value::proxy< I >::enc

Encoding associated type.

Definition at line 91 of file value/proxy.hh.

template<typename I>
typedef I ::value mln::value::proxy< I >::equiv

Equivalent associated type.

Definition at line 94 of file value/proxy.hh.


Constructor & Destructor Documentation

template<typename I >
mln::value::proxy< I >::proxy (  )  [inline]

Constructor.

Definition at line 150 of file value/proxy.hh.

template<typename I >
mln::value::proxy< I >::proxy ( I &  ima,
const typename I::psite &  p 
) [inline]

Constructor.

Definition at line 157 of file value/proxy.hh.

template<typename I >
mln::value::proxy< I >::~proxy (  )  [inline]

Destructor.

Definition at line 165 of file value/proxy.hh.


Member Function Documentation

template<typename I >
proxy< I > & mln::value::proxy< I >::operator= ( const proxy< I > &  rhs  )  [inline]

Assignment (write access); replacement for default op.

Definition at line 186 of file value/proxy.hh.

References mln::value::proxy< I >::to_value().

template<typename I >
template<typename J >
proxy< I > & mln::value::proxy< I >::operator= ( const proxy< J > &  rhs  )  [inline]

Assignment (write access); with other proxy.

Definition at line 199 of file value/proxy.hh.

References mln::value::proxy< I >::to_value().

template<typename I >
I::value mln::value::proxy< I >::to_value (  )  const [inline]

Explicit read access.

Definition at line 226 of file value/proxy.hh.

Referenced by mln::value::proxy< I >::operator=().