Commit 746b273f authored by Roland Levillain's avatar Roland Levillain
Browse files

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.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4571 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent b9cad3cb
2009-09-28 Roland Levillain <roland@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@lrde.epita.fr>
 
Add non-centered complex windows.
......@@ -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
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment