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

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

#include <Patches.h>

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

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

List of all members.


Detailed Description

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

List of patches that can be applied to a TaggedCollection

Definition at line 92 of file Patches.h.


Public Types

typedef std::map< ITEM, Patch
< ITEM, TAG >
>::const_iterator 
const_iterator
typedef std::map< ITEM, Patch
< ITEM, TAG > >::iterator 
iterator

Public Member Functions

void addPatch (const PatchList< ITEM, TAG > &patches) throw ()
void addPatch (const Patch< ITEM, TAG > &patch) throw ()
void addPatch (const Collection< ITEM, TAG > &im1, const Collection< ITEM, TAG > &im2) throw ()
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.
PatchList< ITEM, TAG > getReverse () const throw ()
bool isComplete ()
 Return true if the filter is not incomplete.
OpSet< TAG > patch (const ITEM &item, const OpSet< TAG > &tagset) const throw ()
 PatchList (const PatchList &pl, Consumer< ITEM, TAG > &consumer)
 PatchList (const PatchList &pl)
 PatchList (Consumer< ITEM, TAG > &consumer)
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

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

Generated by  Doxygen 1.6.0   Back to index