#include <Collection.h>
Inheritance diagram for Tagcoll::Collection< ITEM, TAG >:
Public Member Functions | |
virtual | ~Collection () |
virtual void | applyChange (const PatchList< ITEM, TAG > &change)=0 |
Apply a patch to the collection. | |
Protected Member Functions | |
void | consumeItemUntagged (const ITEM &) |
Process an untagged item. | |
void | consumeItemsUntagged (const OpSet< ITEM > &) |
Process a set of items, all with no tags. |
|
|
|
Apply a patch to the collection. Example: void perform(const PatchList<ITEM, TAG>& change) { collection.applyChange(change); undo.push_back(change.getReverse()); } Implemented in Tagcoll::CardinalityStore< ITEM, TAG >, Tagcoll::ItemGrouper< ITEM, TAG >, Tagcoll::PatchCollection< ITEM, TAG >, Tagcoll::TDBDiskIndex< ITEM, TAG >, Tagcoll::TDBIndexer< ITEM, TAG >, and Tagcoll::InputMerger< std::string, std::string >. |
|
Process a set of items, all with no tags.
Reimplemented from Tagcoll::Consumer< ITEM, TAG >. |
|
Process an untagged item.
Implements Tagcoll::Consumer< ITEM, TAG >. |