[Debtags-commits] [svn] r940 - libtagcoll1/trunk/tagcoll
Enrico Zini
debtags-commits@lists.alioth.debian.org
Sun, 19 Jun 2005 21:32:26 +0000
Author: enrico
Date: Sun Jun 19 21:32:26 2005
New Revision: 940
Modified:
libtagcoll1/trunk/tagcoll/ItemGrouper.h
Log:
Added clear() method to InputMerger
Modified: libtagcoll1/trunk/tagcoll/ItemGrouper.h
==============================================================================
--- libtagcoll1/trunk/tagcoll/ItemGrouper.h (original)
+++ libtagcoll1/trunk/tagcoll/ItemGrouper.h Sun Jun 19 21:32:26 2005
@@ -64,6 +64,11 @@
// Send the reversed data to a consumer
void output(TagcollConsumer<ITEM, TAG>& consumer) throw ();
+
+ /**
+ * Remove all the items from this ItemGrouper
+ */
+ void clear() throw () { groups.clear(); }
};
};