Public Types | Public Member Functions | Protected Member Functions

mln::Image< E > Struct Template Reference

Base class for implementation of image classes. More...

#include <image.hh>

Inheritance diagram for mln::Image< E >:
Inheritance graph

List of all members.

Public Types

typedef Image< void > category
typedef E exact_t

Public Member Functions

template<typename J >
Image< E > & operator= (const J &rhs)

Protected Member Functions

 Image ()

Detailed Description

template<typename E>
struct mln::Image< E >

Base class for implementation of image classes.

See also:
mln::doc::Image for a complete documentation of this class contents.

Definition at line 73 of file core/concept/image.hh.


Member Typedef Documentation

template<typename E>
typedef Image<void> mln::Image< E >::category

Reimplemented from mln::Object< E >.

Definition at line 75 of file core/concept/image.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 173 of file object.hh.


Constructor & Destructor Documentation

template<typename E >
mln::Image< E >::Image (  )  [inline, protected]

Optional interface:

Definition at line 206 of file core/concept/image.hh.

References mln::internal::check_init().


Member Function Documentation

template<typename E >
template<typename J >
Image< E > & mln::Image< E >::operator= ( const J &  rhs  )  [inline]

You are assigning an image of a concrete type to an image with a concept type. It does NOT work.

You forgot a call to exact() on the left operand!

Definition at line 193 of file core/concept/image.hh.