#include <patch.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 | |
PatchList () | |
PatchList (const PatchList &pl) | |
template<typename COLL1, typename COLL2> | |
void | addPatch (const COLL1 &im1, const COLL2 &im2) |
Add to this patchlist the patches needed to transform `im1' in `im2'. | |
void | addPatch (const Patch< ITEM, TAG > &patch) |
Add `patch' to this PatchList. | |
void | addPatch (const PatchList< ITEM, TAG > &patches) |
Add `patches' to this PatchList. | |
void | addPatchInverted (const Patch< TAG, ITEM > &patch) |
Add 'patch' to this PatchList, as tag: +/- package rather than package +/- tag. | |
void | addPatchInverted (const PatchList< TAG, ITEM > &patches) |
Add 'patches' to this PatchList, as tag: +/- package rather than package +/- tag. | |
void | removeRedundant (const ITEM &item, const std::set< TAG > &tags) |
If the PatchList contains the give item, invoke Patch::removeRedundant(tags) on its patch. | |
std::set< TAG > | patch (const ITEM &item, const std::set< TAG > &tagset) const |
Patch a tagged item. | |
template<typename OUT> | |
void | output (OUT out) const |
PatchList< ITEM, TAG > | getReverse () const |
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 | ( | const PatchList< ITEM, TAG > & | pl | ) | [inline] |
void tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const COLL1 & | im1, | |
const COLL2 & | im2 | |||
) | [inline] |
Add to this patchlist the patches needed to transform `im1' in `im2'.
void tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const Patch< ITEM, TAG > & | patch | ) |
Add `patch' to this PatchList.
void tagcoll::PatchList< ITEM, TAG >::addPatch | ( | const PatchList< ITEM, TAG > & | patches | ) |
Add `patches' to this PatchList.
void tagcoll::PatchList< ITEM, TAG >::addPatchInverted | ( | const Patch< TAG, ITEM > & | patch | ) |
Add 'patch' to this PatchList, as tag: +/- package rather than package +/- tag.
void tagcoll::PatchList< ITEM, TAG >::addPatchInverted | ( | const PatchList< TAG, ITEM > & | patches | ) |
Add 'patches' to this PatchList, as tag: +/- package rather than package +/- tag.
void tagcoll::PatchList< ITEM, TAG >::removeRedundant | ( | const ITEM & | item, | |
const std::set< TAG > & | tags | |||
) |
If the PatchList contains the give item, invoke Patch::removeRedundant(tags) on its patch.
std::set<TAG> tagcoll::PatchList< ITEM, TAG >::patch | ( | const ITEM & | item, | |
const std::set< TAG > & | tagset | |||
) | const |
void tagcoll::PatchList< ITEM, TAG >::output | ( | OUT | out | ) | const [inline] |
PatchList<ITEM, TAG> tagcoll::PatchList< ITEM, TAG >::getReverse | ( | ) | const |