#include <Patches.h>
Inheritance diagram for Tagcoll::PatchList< ITEM, TAG >:
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 | |
PatchList () | |
PatchList (Consumer< ITEM, TAG > &consumer) | |
PatchList (const PatchList &pl) | |
PatchList (const PatchList &pl, Consumer< ITEM, TAG > &consumer) | |
virtual | ~PatchList () throw () |
void | addPatch (const ReadonlyCollection< ITEM, TAG > &im1, const ReadonlyCollection< ITEM, TAG > &im2) throw () |
Add to this patchlist the patches needed to transform `im1' in `im2'. | |
void | addPatch (const Patch< ITEM, TAG > &patch) throw () |
Add `patch' to this PatchList. | |
void | addPatch (const PatchList< ITEM, TAG > &patches) throw () |
Add `patches' to this PatchList. | |
OpSet< TAG > | patch (const ITEM &item, const OpSet< TAG > &tagset) const throw () |
Patch a tagged item. | |
PatchList< ITEM, TAG > | getReverse () const throw () |
Protected Member Functions | |
virtual void | consumeItemUntagged (const ITEM &item) |
Process an untagged item. | |
virtual void | consumeItem (const ITEM &item, const OpSet< TAG > &tags) |
Process a tagged item, with its tags. |
typedef std::map<ITEM, Patch<ITEM, TAG> >::const_iterator Tagcoll::PatchList< ITEM, TAG >::const_iterator |
typedef std::map<ITEM, Patch<ITEM, TAG> >::iterator Tagcoll::PatchList< ITEM, TAG >::iterator |
Tagcoll::PatchList< ITEM, TAG >::PatchList | ( | ) | [inline] |
Tagcoll::PatchList< ITEM, TAG >::PatchList | ( | Consumer< ITEM, TAG > & | consumer | ) | [inline] |
Tagcoll::PatchList< ITEM, TAG >::PatchList | ( | const PatchList< ITEM, TAG > & | pl | ) | [inline] |
Tagcoll::PatchList< ITEM, TAG >::PatchList | ( | const PatchList< ITEM, TAG > & | pl, | |
Consumer< ITEM, TAG > & | consumer | |||
) | [inline] |
virtual Tagcoll::PatchList< ITEM, TAG >::~PatchList | ( | ) | throw () [inline, virtual] |
void Tagcoll::PatchList< ITEM, TAG >::consumeItemUntagged | ( | const ITEM & | item | ) | [inline, protected, virtual] |
void Tagcoll::PatchList< ITEM, TAG >::consumeItem | ( | const ITEM & | item, | |
const OpSet< TAG > & | tags | |||
) | [inline, protected, virtual] |
void Tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const ReadonlyCollection< ITEM, TAG > & | im1, | |
const ReadonlyCollection< ITEM, TAG > & | im2 | |||
) | throw () [inline] |
Add to this patchlist the patches needed to transform `im1' in `im2'.
void Tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const Patch< ITEM, TAG > & | patch | ) | throw () [inline] |
Add `patch' to this PatchList.
void Tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const PatchList< ITEM, TAG > & | patches | ) | throw () [inline] |
Add `patches' to this PatchList.
OpSet< TAG > Tagcoll::PatchList< ITEM, TAG >::patch | ( | const ITEM & | item, | |
const OpSet< TAG > & | tagset | |||
) | const throw () [inline] |
PatchList< ITEM, TAG > Tagcoll::PatchList< ITEM, TAG >::getReverse | ( | ) | const throw () [inline] |