$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::value::proxy< I > Class Template Reference

#include <mln/value/proxy.hh>

Public Member Functions

 proxy ()
 proxy (I &ima, const typename I::psite &p)
 ~proxy ()
proxy< I > & operator= (const typename I::value &v)
proxy< I > & operator= (const proxy< I > &rhs)
template<typename J >
proxy< I > & operator= (const proxy< J > &rhs)
I::value subj_ ()
I::value to_value () const

Protected Attributes

I * ima_
I::psite p_

Public Types

typedef Proxy< void > category
typedef void enc
typedef I::value equiv
typedef proxy< I > exact_t

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.

Constructor & Destructor Documentation

template<typename I>
mln::value::proxy< I >::proxy ( )

Constructor.

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

Constructor.

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

Destructor.

Member Function Documentation

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

Assignment (write access); replacement for default op.

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

Assignment (write access); with other proxy.

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

Return the proxy subject.

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

Explicit read access.

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.

Member Typedef Documentation

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

Definition at line 229 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 105 of file object.hh.