---
milena/ChangeLog | 4 ++++
milena/mln/accu/count_value.hh | 26 +++++++++++++++++++++++++-
2 files changed, 29 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index a3b5d0a..e584a23 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-25 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * mln/accu/count_value.hh: Add properties.
+
2010-06-18 Guillaume Lazzara <z(a)lrde.epita.fr>
Fix a bug in conversions from vec to point.
diff --git a/milena/mln/accu/count_value.hh b/milena/mln/accu/count_value.hh
index f85f5d8..833f075 100644
--- a/milena/mln/accu/count_value.hh
+++ b/milena/mln/accu/count_value.hh
@@ -1,4 +1,5 @@
-// Copyright (C) 2009 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2009, 2010 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -37,6 +38,29 @@
namespace mln
{
+ // Forward declaration.
+ namespace accu {
+ template <typename V> struct count_value;
+ }
+
+
+ // Traits.
+
+ namespace trait
+ {
+
+ template <typename V>
+ struct accumulator_< accu::count_value<V> >
+ {
+ typedef accumulator::has_untake::yes has_untake;
+ typedef accumulator::has_set_value::yes has_set_value;
+ typedef accumulator::has_stop::no has_stop;
+ typedef accumulator::when_pix::use_v when_pix;
+ };
+
+ } // end of namespace mln::trait
+
+
namespace accu
{
--
1.5.6.5
Show replies by date