* mln/topo/internal/complex_iter_base.hh (operator<<): Here.
---
milena/ChangeLog | 6 ++++++
milena/mln/topo/internal/complex_iter_base.hh | 7 ++-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index a376900..d820e59 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,11 @@
2008-09-30 Roland Levillain <roland(a)lrde.epita.fr>
+ Delegate pretty-printing of iterators on faces to mln::topo::face.
+
+ * mln/topo/internal/complex_iter_base.hh (operator<<): Here.
+
+2008-09-30 Roland Levillain <roland(a)lrde.epita.fr>
+
Add accesses to adjacent faces to mln::topo::face<D>.
* mln/topo/face.hh
diff --git a/milena/mln/topo/internal/complex_iter_base.hh b/milena/mln/topo/internal/complex_iter_base.hh
index 8e20801..dc479e2 100644
--- a/milena/mln/topo/internal/complex_iter_base.hh
+++ b/milena/mln/topo/internal/complex_iter_base.hh
@@ -97,10 +97,7 @@ namespace mln
};
- /* FIXME: This hand-made delegation is painful. We should rely on
- the general mechanism provided by Point_Site. But then again, we
- need to refine/adjust the interface of Point_Site w.r.t. the
- mandatory conversions to points. */
+ /// Print an mln::topo::internal::complex_iter_base.
template <typename F, typename E>
inline
std::ostream&
@@ -194,7 +191,7 @@ namespace mln
This is a general remark that applies to all iterators of
Milena. */
F f = p;
- return ostr << "(dim = " << f.n() << ", id = " << f.face_id() << ')';
+ return ostr << f;
}
# endif // ! MLN_INCLUDE_ONLY
--
1.6.0.1
---
milena/ChangeLog | 5 +++++
milena/tests/topo/complex.cc | 34 +++-------------------------------
2 files changed, 8 insertions(+), 31 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 77f42ad..96f3ef5 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,5 +1,10 @@
2008-09-29 Roland Levillain <roland(a)lrde.epita.fr>
+ * tests/topo/complex.cc: Move some comments to the Trac Wiki.
+ See https://trac.lrde.org/olena/wiki/Olena/ComplexBasedImages.
+
+2008-09-29 Roland Levillain <roland(a)lrde.epita.fr>
+
Remove macros mln_*[cf]iter.
* mln/core/macros.hh
diff --git a/milena/tests/topo/complex.cc b/milena/tests/topo/complex.cc
index deafb57..848b139 100644
--- a/milena/tests/topo/complex.cc
+++ b/milena/tests/topo/complex.cc
@@ -205,37 +205,9 @@ int main()
complex_faces_piter) use a static `n'. We should also have
n-faces iterators where n could be dynamic.
-
- But first, we need to clarify (existing) names. These ones are
- OK:
-
- -----------------------------------------------------------------
- Name Definition
- -----------------------------------------------------------------
- complex<D> General complex.
-
- face_data<N, D> Face data.
- n_face<N, D> (Static) n-face handle.
- n_faces_set<N, D> Set of face handles.
- face<D> Dynamic face handle.
-
- face_fwd_iter<D>(c) | Iterators on all the faces
- face_bkd_iter<D>(c) | of c.
-
- n_face_fwd_iter<D>(c) | Iterators on n-faces,
- n_face_bkd_iter<D>(c) | n being dynamic.
-
- static_n_face_fwd_iter<D>(c) | Iterators on n-faces,
- static_n_face_bkd_iter<D>(c) | n being static.
-
- internal::complex_iter_base<F, E> Factoring base class.
- -----------------------------------------------------------------
-
- (Note: get rid of trailing underscores, even for entities in
- mln::internal::.)
-
- And likewise for image-related entities!
-
+ But first, we need to clarify (existing) names. The one listed
+ in https://trac.lrde.org/olena/wiki/Olena/ComplexBasedImages
+ are OK.
Next, write these:
--
1.5.6.5