Public Types | Public Member Functions | Protected Attributes

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

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

#include <proxy.hh>

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

List of all members.

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_

Detailed Description

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

Generic proxy class for an image pixel value.

The parameter I is an image type.


Member Typedef Documentation

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

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

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

Encoding associated type.

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

Equivalent associated type.

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

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.


Member Function Documentation

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

Conversion (read access); precise version.

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

Conversion (read access); general version.

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

Explicit read access.


Member Data Documentation

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