Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

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

Interface for classes interested in accepting a stream of tagged items. More...

#include <Consumer.h>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~Consumer ()
void consume (const ITEM &item)
 Process an untagged item.
void consume (const ITEM &item, const OpSet< TAG > &tags)
 Process a tagged item, with its tags.
void consume (const OpSet< ITEM > &items)
 Process a set of items, all with no tags.
void consume (const OpSet< ITEM > &items, const OpSet< TAG > &tags)
 Process a set of items identically tagged, with their tags.

Protected Member Functions

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

Detailed Description

template<typename ITEM, typename TAG>
class Tagcoll::Consumer< ITEM, TAG >

Interface for classes interested in accepting a stream of tagged items.


Constructor & Destructor Documentation

template<typename ITEM, typename TAG>
virtual Tagcoll::Consumer< ITEM, TAG >::~Consumer  )  [inline, virtual]
 


Member Function Documentation

template<typename ITEM, typename TAG>
void Tagcoll::Consumer< ITEM, TAG >::consume const OpSet< ITEM > &  items,
const OpSet< TAG > &  tags
[inline]
 

Process a set of items identically tagged, with their tags.

template<typename ITEM, typename TAG>
void Tagcoll::Consumer< ITEM, TAG >::consume const OpSet< ITEM > &  items  )  [inline]
 

Process a set of items, all with no tags.

template<typename ITEM, typename TAG>
void Tagcoll::Consumer< ITEM, TAG >::consume const ITEM &  item,
const OpSet< TAG > &  tags
[inline]
 

Process a tagged item, with its tags.

template<typename ITEM, typename TAG>
void Tagcoll::Consumer< ITEM, TAG >::consume const ITEM &  item  )  [inline]
 

Process an untagged item.

template<typename ITEM, typename TAG>
virtual void Tagcoll::Consumer< ITEM, TAG >::consumeItem const ITEM &  item,
const OpSet< TAG > &  tags
[protected, pure virtual]
 

Process a tagged item, with its tags.

Implemented in Tagcoll::CardinalityStore< ITEM, TAG >, Tagcoll::Sink< ITEM, TAG >, Tagcoll::AddDerived< ITEM >, Tagcoll::RemoveDerived< ITEM >, Tagcoll::FilterItemsByExpression< ITEM, TAG >, Tagcoll::FilterTagsByExpression< ITEM, TAG >, Tagcoll::Filter< ITEM, TAG >, Tagcoll::Substitutions< T >, Tagcoll::Substitute< ITEM, TAG >, Tagcoll::UntaggedRemover< ITEM, TAG >, Tagcoll::UnfacetedRemover< ITEM >, Tagcoll::Implications< TAG >, Tagcoll::AddImplied< ITEM, TAG >, Tagcoll::RemoveImplied< ITEM, TAG >, Tagcoll::ItemGrouper< ITEM, TAG >, Tagcoll::PatchCollection< ITEM, TAG >, Tagcoll::PatchList< ITEM, TAG >, Tagcoll::ConversionFilter< IN_ITEM, IN_TAG, OUT_ITEM, OUT_TAG >, Tagcoll::TDBDiskIndex< ITEM, TAG >, Tagcoll::TDBIndexer< ITEM, TAG >, Tagcoll::TextFormat< ITEM, TAG >, Tagcoll::Filter< ITEM, std::string >, and Tagcoll::Substitutions< TAG >.

template<typename ITEM, typename TAG>
virtual void Tagcoll::Consumer< ITEM, TAG >::consumeItems const OpSet< ITEM > &  items,
const OpSet< TAG > &  tags
[inline, protected, virtual]
 

Process a set of items identically tagged, with their tags.

Reimplemented in Tagcoll::CardinalityStore< ITEM, TAG >, Tagcoll::Sink< ITEM, TAG >, Tagcoll::AddDerived< ITEM >, Tagcoll::RemoveDerived< ITEM >, Tagcoll::FilterItemsByExpression< ITEM, TAG >, Tagcoll::FilterTagsByExpression< ITEM, TAG >, Tagcoll::Filter< ITEM, TAG >, Tagcoll::UnfacetedRemover< ITEM >, Tagcoll::AddImplied< ITEM, TAG >, Tagcoll::RemoveImplied< ITEM, TAG >, Tagcoll::ItemGrouper< ITEM, TAG >, Tagcoll::ConversionFilter< IN_ITEM, IN_TAG, OUT_ITEM, OUT_TAG >, Tagcoll::TDBDiskIndex< ITEM, TAG >, Tagcoll::TDBIndexer< ITEM, TAG >, Tagcoll::TextFormat< ITEM, TAG >, and Tagcoll::Filter< ITEM, std::string >.

template<typename ITEM, typename TAG>
virtual void Tagcoll::Consumer< ITEM, TAG >::consumeItemsUntagged const OpSet< ITEM > &  items  )  [inline, protected, virtual]
 

Process a set of items, all with no tags.

Reimplemented in Tagcoll::Collection< ITEM, TAG >, Tagcoll::Sink< ITEM, TAG >, Tagcoll::AddDerived< ITEM >, Tagcoll::RemoveDerived< ITEM >, Tagcoll::FilterItemsByExpression< ITEM, TAG >, Tagcoll::FilterTagsByExpression< ITEM, TAG >, Tagcoll::Filter< ITEM, TAG >, Tagcoll::Substitutions< T >, Tagcoll::Substitute< ITEM, TAG >, Tagcoll::UntaggedRemover< ITEM, TAG >, Tagcoll::UnfacetedRemover< ITEM >, Tagcoll::AddImplied< ITEM, TAG >, Tagcoll::RemoveImplied< ITEM, TAG >, Tagcoll::ConversionFilter< IN_ITEM, IN_TAG, OUT_ITEM, OUT_TAG >, Tagcoll::TextFormat< ITEM, TAG >, Tagcoll::Filter< ITEM, std::string >, and Tagcoll::Substitutions< TAG >.

template<typename ITEM, typename TAG>
virtual void Tagcoll::Consumer< ITEM, TAG >::consumeItemUntagged const ITEM &  item  )  [protected, pure virtual]
 

Process an untagged item.

Implemented in Tagcoll::Collection< ITEM, TAG >, Tagcoll::Sink< ITEM, TAG >, Tagcoll::AddDerived< ITEM >, Tagcoll::RemoveDerived< ITEM >, Tagcoll::FilterItemsByExpression< ITEM, TAG >, Tagcoll::FilterTagsByExpression< ITEM, TAG >, Tagcoll::Filter< ITEM, TAG >, Tagcoll::Substitutions< T >, Tagcoll::Substitute< ITEM, TAG >, Tagcoll::UntaggedRemover< ITEM, TAG >, Tagcoll::UnfacetedRemover< ITEM >, Tagcoll::Implications< TAG >, Tagcoll::AddImplied< ITEM, TAG >, Tagcoll::RemoveImplied< ITEM, TAG >, Tagcoll::PatchList< ITEM, TAG >, Tagcoll::ConversionFilter< IN_ITEM, IN_TAG, OUT_ITEM, OUT_TAG >, Tagcoll::TextFormat< ITEM, TAG >, Tagcoll::Filter< ITEM, std::string >, and Tagcoll::Substitutions< TAG >.


The documentation for this class was generated from the following file:
Generated on Fri Sep 9 22:18:21 2005 for libtagcoll by  doxygen 1.4.4