27 #ifndef MLN_CORE_SITE_SET_P_N_FACES_PITER_HH
28 # define MLN_CORE_SITE_SET_P_N_FACES_PITER_HH
34 # include <mln/core/site_set/p_complex.hh>
35 # include <mln/core/internal/p_complex_piter_base.hh>
36 # include <mln/topo/n_face_iter.hh>
46 template <
unsigned D,
typename G>
class p_complex;
58 template <
unsigned D,
typename G>
63 p_n_faces_fwd_piter<D, G> >
83 void set_n (
unsigned n);
97 template <
unsigned D,
typename G>
104 p_n_faces_bkd_piter<D, G> >
124 void set_n (
unsigned n);
130 # ifndef MLN_INCLUDE_ONLY
136 template <
unsigned D,
typename G>
142 template <
unsigned D,
typename G>
148 mln_precondition(n <= D);
152 template <
unsigned D,
typename G>
157 return this->iter_.n();
160 template <
unsigned D,
typename G>
165 this->iter_.set_n(n);
173 template <
unsigned D,
typename G>
179 template <
unsigned D,
typename G>
185 mln_precondition(n <= D);
189 template <
unsigned D,
typename G>
194 return this->iter_.n();
197 template <
unsigned D,
typename G>
202 this->iter_.set_n(n);
205 # endif // ! MLN_INCLUDE_ONLY
209 #endif // ! MLN_CORE_SITE_SET_P_N_FACES_PITER_HH