* mln/core/internal/complex_window_base.hh: Add missing inline
keywords.
(complex_window_base<D, G, F, B, E>::geom): New typedef.
(complex_window_base<D, G, F, B, E>::is_valid): Improve
documentation.
---
milena/ChangeLog | 10 ++++++++++
milena/mln/core/internal/complex_window_base.hh | 8 +++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 3daaaa6..43d281c 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,13 @@
+2009-09-28 Roland Levillain <roland(a)lrde.epita.fr>
+
+ Miscellaneous corrections to complex_window_base.
+
+ * mln/core/internal/complex_window_base.hh: Add missing inline
+ keywords.
+ (complex_window_base<D, G, F, B, E>::geom): New typedef.
+ (complex_window_base<D, G, F, B, E>::is_valid): Improve
+ documentation.
+
2009-09-25 Roland Levillain <roland(a)lrde.epita.fr>
Add non-centered complex windows.
diff --git a/milena/mln/core/internal/complex_window_base.hh
b/milena/mln/core/internal/complex_window_base.hh
index 559c9de..df08e6d 100644
--- a/milena/mln/core/internal/complex_window_base.hh
+++ b/milena/mln/core/internal/complex_window_base.hh
@@ -92,6 +92,8 @@ namespace mln
public:
/// Associated types.
/// \{
+ /// The geometry of the complex.
+ typedef G geom;
/// The type of psite corresponding to the window.
typedef complex_psite<D, G> psite;
/// The type of site corresponding to the window.
@@ -130,7 +132,7 @@ namespace mln
/// Is this window centered?
bool is_centered() const;
- /// Return true by default.
+ /// Is this window valid ? (Return true by default.)
bool is_valid() const;
/// \}
@@ -143,6 +145,7 @@ namespace mln
# ifndef MLN_INCLUDE_ONLY
template <unsigned D, typename G, typename F, typename B, typename E>
+ inline
complex_window_base<D, G, F, B, E>::complex_window_base(bool is_centered)
: is_centered_(is_centered)
{
@@ -150,6 +153,7 @@ namespace mln
template <unsigned D, typename G, typename F, typename B, typename E>
+ inline
bool
complex_window_base<D, G, F, B, E>::is_empty() const
{
@@ -157,6 +161,7 @@ namespace mln
}
template <unsigned D, typename G, typename F, typename B, typename E>
+ inline
bool
complex_window_base<D, G, F, B, E>::is_centered() const
{
@@ -164,6 +169,7 @@ namespace mln
}
template <unsigned D, typename G, typename F, typename B, typename E>
+ inline
bool
complex_window_base<D, G, F, B, E>::is_valid() const
{
--
1.6.3.1