Public Types | Public Member Functions | Protected Attributes

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 Proxy< void > category
typedef void enc
 Encoding associated type.
typedef I::value equiv
 Equivalent associated type.
typedef proxy< I > exact_t

Public Member Functions

proxy< I > & operator= (const typename I::value &v)
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 (I &ima, const typename I::psite &p)
 Constructor.
 proxy ()
 Constructor.
I::value subj_ ()
 Return the proxy subject.
I::value to_value () const
 Explicit read access.
 ~proxy ()
 Destructor.

Protected Attributes

I * ima_
I::psite p_

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

typedef Proxy<void> mln::Proxy< proxy< I > >::category [inherited]

Reimplemented from mln::Object< proxy< I > >.

Definition at line 234 of file core/concept/proxy.hh.

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.

typedef proxy< I > mln::Object< proxy< I > >::exact_t [inherited]

Definition at line 173 of file object.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 typename I::value &  v  )  [inline]

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

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

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 >::operator=(), and 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 >::operator=(), and mln::value::proxy< I >::to_value().

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

Return the proxy subject.

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

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=().


Member Data Documentation

template<typename I>
I* mln::value::proxy< I >::ima_ [protected]

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

template<typename I>
I ::psite mln::value::proxy< I >::p_ [protected]

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