27 #ifndef MLN_CORE_IMAGE_CH_PITER_HH
28 # define MLN_CORE_IMAGE_CH_PITER_HH
36 # include <mln/core/internal/image_identity.hh>
44 template <
typename I,
typename Fwd>
class ch_piter_image;
54 template <
typename I,
typename Fwd>
55 struct data< ch_piter_image<I,Fwd> >
67 template <
typename I,
typename Fwd>
68 struct image_< ch_piter_image<I,Fwd> > : image_< I >
71 typedef trait::image::category::identity_morpher
category;
80 template <
typename I,
typename Fwd>
83 ch_piter_image<I,Fwd> >
105 template <
typename Fwd,
typename I>
111 # ifndef MLN_INCLUDE_ONLY
119 template <
typename I,
typename Fwd>
131 template <
typename I,
typename Fwd>
133 ch_piter_image<I,Fwd>::ch_piter_image()
137 template <
typename I,
typename Fwd>
139 ch_piter_image<I,Fwd>::ch_piter_image(I& ima)
141 mln_precondition(ima.is_valid());
145 template <
typename I,
typename Fwd>
148 ch_piter_image<I,Fwd>::init_(I& ima)
150 mln_precondition(ima.is_valid());
151 this->data_ =
new internal::data< ch_piter_image<I,Fwd> >(ima);
157 template <
typename Fwd,
typename I>
159 ch_piter_image<I,Fwd>
162 ch_piter_image<I,Fwd> tmp(
exact(ima));
166 # endif // ! MLN_INCLUDE_ONLY
171 #endif // ! MLN_CORE_IMAGE_CH_PITER_HH