#include <Consumer.h>
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. |
virtual Tagcoll::Consumer< ITEM, TAG >::~Consumer | ( | ) | [inline, virtual] |
virtual void Tagcoll::Consumer< ITEM, TAG >::consumeItemUntagged | ( | const ITEM & | item | ) | [protected, pure virtual] |
Process an untagged item.
Implemented in Tagcoll::BasicStringDiskIndexer, 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::IntDiskIndexer< ITEM, TAG >, Tagcoll::PatchList< ITEM, TAG >, Tagcoll::ConversionFilter< IN_ITEM, IN_TAG, OUT_ITEM, OUT_TAG >, Tagcoll::TextFormat< ITEM, TAG >, Tagcoll::Collection< std::string, std::string >, Tagcoll::Filter< ITEM, std::string >, and Tagcoll::Substitutions< 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::BasicStringDiskIndexer, 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::IntDiskIndexer< 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 >, Tagcoll::Substitutions< TAG >, and Tagcoll::InputMerger< std::string, std::string >.
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::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::Collection< std::string, std::string >, and Tagcoll::Substitutions< 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::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 >, and Tagcoll::TextFormat< ITEM, TAG >.
void Tagcoll::Consumer< ITEM, TAG >::consume | ( | const ITEM & | item | ) | [inline] |
Process an untagged item.
void Tagcoll::Consumer< ITEM, TAG >::consume | ( | const ITEM & | item, | |
const OpSet< TAG > & | tags | |||
) | [inline] |
Process a tagged item, with its tags.
void Tagcoll::Consumer< ITEM, TAG >::consume | ( | const OpSet< ITEM > & | items | ) | [inline] |
Process a set of items, all with no tags.
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.