#include <Patches.h>
Collaboration diagram for Tagcoll::Patch< ITEM, TAG >:
Public Member Functions | |
Patch (const Patch< ITEM, TAG > &p) throw () | |
Patch (const ITEM &item) throw () | |
Patch (const ITEM &item, const OpSet< TAG > &added, const OpSet< TAG > &removed) throw () | |
~Patch () | |
void | add (const TAG &tag) throw () |
void | add (const OpSet< TAG > &tags) throw () |
void | remove (const TAG &tag) throw () |
void | remove (const OpSet< TAG > &tags) throw () |
const ITEM & | getItem () const throw () |
const OpSet< TAG > & | getAdded () const throw () |
const OpSet< TAG > & | getRemoved () const throw () |
Patch< ITEM, TAG > | getReverse () const throw () |
void | mergeWith (const Patch< ITEM, TAG > &patch) throw () |
OpSet< TAG > | apply (const OpSet< TAG > &ts) const throw () |
void | removeRedundant (const OpSet< TAG > ts) throw () |
Protected Attributes | |
ITEM | item |
OpSet< TAG > | added |
OpSet< TAG > | removed |
Tagcoll::Patch< ITEM, TAG >::Patch | ( | const Patch< ITEM, TAG > & | p | ) | throw () [inline] |
Tagcoll::Patch< ITEM, TAG >::Patch | ( | const ITEM & | item | ) | throw () [inline] |
Tagcoll::Patch< ITEM, TAG >::Patch | ( | const ITEM & | item, | |
const OpSet< TAG > & | added, | |||
const OpSet< TAG > & | removed | |||
) | throw () [inline] |
Tagcoll::Patch< ITEM, TAG >::~Patch | ( | ) | [inline] |
void Tagcoll::Patch< ITEM, TAG >::add | ( | const OpSet< TAG > & | tags | ) | throw () [inline] |
void Tagcoll::Patch< ITEM, TAG >::add | ( | const TAG & | tag | ) | throw () [inline] |
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::apply | ( | const OpSet< TAG > & | ts | ) | const throw () [inline] |
const OpSet<TAG>& Tagcoll::Patch< ITEM, TAG >::getAdded | ( | ) | const throw () [inline] |
const ITEM& Tagcoll::Patch< ITEM, TAG >::getItem | ( | ) | const throw () [inline] |
const OpSet<TAG>& Tagcoll::Patch< ITEM, TAG >::getRemoved | ( | ) | const throw () [inline] |
Patch<ITEM, TAG> Tagcoll::Patch< ITEM, TAG >::getReverse | ( | ) | const throw () [inline] |
void Tagcoll::Patch< ITEM, TAG >::mergeWith | ( | const Patch< ITEM, TAG > & | patch | ) | throw () [inline] |
void Tagcoll::Patch< ITEM, TAG >::remove | ( | const OpSet< TAG > & | tags | ) | throw () [inline] |
void Tagcoll::Patch< ITEM, TAG >::remove | ( | const TAG & | tag | ) | throw () [inline] |
void Tagcoll::Patch< ITEM, TAG >::removeRedundant | ( | const OpSet< TAG > | ts | ) | throw () [inline] |
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::added [protected] |
ITEM Tagcoll::Patch< ITEM, TAG >::item [protected] |
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::removed [protected] |