* mln/core/site_set/p_complex.hh: Add forward declarations for
mln::p_complex_faces_fwd_piter_ and
mln::p_complex_faces_bkd_piter_
---
milena/ChangeLog | 8 ++++++++
milena/mln/core/site_set/p_complex.hh | 9 ++++++++-
2 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index e54d8c8..62fb495 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -41,6 +41,14 @@
2008-09-24 Roland Levillain <roland(a)lrde.epita.fr>
+ Have mln::p_complex known p_complex_faces_iter's.
+
+ * mln/core/site_set/p_complex.hh: Add forward declarations for
+ mln::p_complex_faces_fwd_piter_ and
+ mln::p_complex_faces_bkd_piter_
+
+2008-09-24 Roland Levillain <roland(a)lrde.epita.fr>
+
Add piters on n-faces able to convert to mln::complex_psite.
* mln/core/site_set/p_complex_faces_piter.hh: New.
diff --git a/milena/mln/core/site_set/p_complex.hh
b/milena/mln/core/site_set/p_complex.hh
index 6c30c25..de6e0ad 100644
--- a/milena/mln/core/site_set/p_complex.hh
+++ b/milena/mln/core/site_set/p_complex.hh
@@ -37,6 +37,7 @@
# include <mln/core/complex_psite.hh>
# include <mln/core/site_set/p_complex_piter.hh>
+# include <mln/core/site_set/p_complex_faces_piter.hh>
namespace mln
@@ -48,6 +49,11 @@ namespace mln
template <unsigned D, typename P> class p_complex_fwd_piter_;
template <unsigned D, typename P> class p_complex_bkd_piter_;
+ template <unsigned N, unsigned D, typename P>
+ class p_complex_faces_fwd_piter_;
+ template <unsigned N, unsigned D, typename P>
+ class p_complex_faces_bkd_piter_;
+
namespace trait
{
@@ -136,6 +142,7 @@ namespace mln
// simplify (and lighten) the implementation of piters, psites,
// etc.
+ // FIXME: This method is probably useless now.
/// Is this site set valid?
bool is_valid() const;
@@ -240,7 +247,7 @@ namespace mln
return
// Check whether P's complex is compatible with this pset's complex.
(p.site_set() == *this) &&
- // Check whether the complex has the face associated to P.
+ // Check whether P is valid.
(p.is_valid());
}
--
1.6.0.1