Milena (Olena)  User documentation 2.0a Id
mln::plain< I > Class Template Reference

Prevents an image from sharing its data. More...

#include <plain.hh>

Inherits mln::internal::image_identity< I, I::domain_t, plain< I > >.

List of all members.

Public Types

typedef plain< tag::image_< I > > skeleton
 Skeleton.

Public Member Functions

 operator I () const
 Conversion into an image with type I.
plain< I > & operator= (const plain< I > &rhs)
 Assignment operator.
plain< I > & operator= (const I &ima)
 Assignment operator from an image ima.
 plain ()
 Constructor without argument.
 plain (const plain< I > &rhs)
 Copy constructor.
 plain (const I &ima)
 Copy constructor from an image ima.

Detailed Description

template<typename I>
class mln::plain< I >

Prevents an image from sharing its data.

While assigned to another image, its data is duplicated.

Definition at line 83 of file plain.hh.


Member Typedef Documentation

template<typename I>
typedef plain< tag::image_<I> > mln::plain< I >::skeleton

Skeleton.

Definition at line 94 of file plain.hh.


Constructor & Destructor Documentation

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

Constructor without argument.

Definition at line 142 of file plain.hh.

template<typename I >
mln::plain< I >::plain ( const plain< I > &  rhs) [inline]

Copy constructor.

Definition at line 148 of file plain.hh.

template<typename I >
mln::plain< I >::plain ( const I &  ima) [inline]

Copy constructor from an image ima.

Definition at line 157 of file plain.hh.


Member Function Documentation

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

Conversion into an image with type I.

Definition at line 198 of file plain.hh.

References mln::duplicate().

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

Assignment operator.

Definition at line 175 of file plain.hh.

template<typename I >
plain< I > & mln::plain< I >::operator= ( const I &  ima) [inline]

Assignment operator from an image ima.

Definition at line 188 of file plain.hh.

 All Classes Namespaces Functions Variables Typedefs Enumerator