Logo Search packages:      
Sourcecode: tagcoll version File versions  Download package

Tagcoll::RemoveDerived< ITEM > Class Template Reference

#include <DerivedTags.h>

Inheritance diagram for Tagcoll::RemoveDerived< ITEM >:

Tagcoll::Filter< ITEM, std::string > Tagcoll::Consumer< ITEM, std::string >

List of all members.


Detailed Description

template<class ITEM>
class Tagcoll::RemoveDerived< ITEM >

Filter that removes redundant derived tags from a collection

Definition at line 121 of file DerivedTags.h.


Public Member Functions

void consume (const OpSet< ITEM > &items, const OpSet< std::string > &tags)
 Process a set of items identically tagged, with their tags.
void consume (const OpSet< ITEM > &items)
 Process a set of items, all with no tags.
void consume (const ITEM &item, const OpSet< std::string > &tags)
 Process a tagged item, with its tags.
void consume (const ITEM &item)
 Process an untagged item.
const DerivedTagsderivedTags () const
DerivedTagsderivedTags ()
virtual Consumer< ITEM,
std::string > & 
getConsumer () const
 Access the filter's consumer.
bool isComplete ()
 Return true if the filter is not incomplete.
 RemoveDerived (Consumer< ITEM, std::string > &cons, const DerivedTags &dtags)
 RemoveDerived (const DerivedTags &dtags)
 RemoveDerived (Consumer< ITEM, std::string > &cons)
virtual void setConsumer (Consumer< ITEM, std::string > &consumer)
 Set or change the filter's consumer.

Protected Member Functions

virtual void consumeItem (const ITEM &item, const OpSet< std::string > &tags)
 Process a tagged item, with its tags.
virtual void consumeItems (const OpSet< ITEM > &items, const OpSet< std::string > &tags)
 Process a set of items identically tagged, with their tags.
virtual void consumeItemsUntagged (const OpSet< ITEM > &items)
 Process a set of items, all with no tags.
virtual void consumeItemUntagged (const ITEM &item)
 Process an untagged item.

Protected Attributes

Consumer< ITEM, std::string > * consumer
DerivedTags dtags

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index