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

Tagcoll::RemoveImplied< ITEM, TAG > Class Template Reference

#include <Implications.h>

Inheritance diagram for Tagcoll::RemoveImplied< ITEM, TAG >:

Tagcoll::Filter< ITEM, TAG > Tagcoll::Consumer< ITEM, TAG >

List of all members.


Detailed Description

template<class ITEM, class TAG>
class Tagcoll::RemoveImplied< ITEM, TAG >

Remove redundant implied tags to a stream of tagged items

Definition at line 153 of file Implications.h.


Public Member Functions

void consume (const OpSet< ITEM > &items, const OpSet< TAG > &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< TAG > &tags)
 Process a tagged item, with its tags.
void consume (const ITEM &item)
 Process an untagged item.
virtual Consumer< ITEM, TAG > & getConsumer () const
 Access the filter's consumer.
const Implications< TAG > & implications () const
Implications< TAG > & implications ()
bool isComplete ()
 Return true if the filter is not incomplete.
 RemoveImplied (Consumer< ITEM, TAG > &cons, const Implications< TAG > &impls)
 RemoveImplied (const Implications< TAG > &impls)
 RemoveImplied (Consumer< ITEM, TAG > &cons)
virtual void setConsumer (Consumer< ITEM, TAG > &consumer)
 Set or change the filter's consumer.

Protected Member Functions

virtual void consumeItem (const ITEM &item, const OpSet< TAG > &tags)
 Process a tagged item, with its tags.
virtual void consumeItems (const OpSet< ITEM > &items, const OpSet< TAG > &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, TAG > * consumer
Implications< TAG > impls

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

Generated by  Doxygen 1.6.0   Back to index