#include <patch.h>
Collaboration diagram for tagcoll::Patch< ITEM, TAG >:

Public Member Functions | |
| Patch (const Patch< ITEM, TAG > &p) | |
| Patch (const ITEM &item) | |
| Patch (const ITEM &item, const std::set< TAG > &added, const std::set< TAG > &removed) | |
| template<typename CONTA, typename CONTB> | |
| Patch (const ITEM &item, const CONTA &added, const CONTB &removed) | |
| ~Patch () | |
| void | add (const TAG &tag) |
| void | add (const std::set< TAG > &tags) |
| void | remove (const TAG &tag) |
| void | remove (const std::set< TAG > &tags) |
| Patch< ITEM, TAG > | getReverse () const |
| void | mergeWith (const Patch< ITEM, TAG > &patch) |
| std::set< TAG > | apply (const std::set< TAG > &ts) const |
| template<typename TAGS> | |
| std::set< TAG > | apply (const TAGS &tags) const |
| void | removeRedundant (const std::set< TAG > ts) |
| bool | operator== (const Patch< ITEM, TAG > &p) const |
| bool | operator!= (const Patch< ITEM, TAG > &p) const |
Public Attributes | |
| ITEM | item |
| std::set< TAG > | added |
| std::set< TAG > | removed |
| tagcoll::Patch< ITEM, TAG >::Patch | ( | const Patch< ITEM, TAG > & | p | ) | [inline] |
| tagcoll::Patch< ITEM, TAG >::Patch | ( | const ITEM & | item | ) | [inline] |
| tagcoll::Patch< ITEM, TAG >::Patch | ( | const ITEM & | item, | |
| const std::set< TAG > & | added, | |||
| const std::set< TAG > & | removed | |||
| ) |
| tagcoll::Patch< ITEM, TAG >::Patch | ( | const ITEM & | item, | |
| const CONTA & | added, | |||
| const CONTB & | removed | |||
| ) |
| tagcoll::Patch< ITEM, TAG >::~Patch | ( | ) | [inline] |
| void tagcoll::Patch< ITEM, TAG >::add | ( | const TAG & | tag | ) | [inline] |
| void tagcoll::Patch< ITEM, TAG >::add | ( | const std::set< TAG > & | tags | ) | [inline] |
| void tagcoll::Patch< ITEM, TAG >::remove | ( | const TAG & | tag | ) | [inline] |
| void tagcoll::Patch< ITEM, TAG >::remove | ( | const std::set< TAG > & | tags | ) | [inline] |
| Patch<ITEM, TAG> tagcoll::Patch< ITEM, TAG >::getReverse | ( | ) | const [inline] |
| void tagcoll::Patch< ITEM, TAG >::mergeWith | ( | const Patch< ITEM, TAG > & | patch | ) | [inline] |
| std::set<TAG> tagcoll::Patch< ITEM, TAG >::apply | ( | const std::set< TAG > & | ts | ) | const [inline] |
| std::set<TAG> tagcoll::Patch< ITEM, TAG >::apply | ( | const TAGS & | tags | ) | const [inline] |
| void tagcoll::Patch< ITEM, TAG >::removeRedundant | ( | const std::set< TAG > | ts | ) | [inline] |
| bool tagcoll::Patch< ITEM, TAG >::operator== | ( | const Patch< ITEM, TAG > & | p | ) | const [inline] |
| bool tagcoll::Patch< ITEM, TAG >::operator!= | ( | const Patch< ITEM, TAG > & | p | ) | const [inline] |
| ITEM tagcoll::Patch< ITEM, TAG >::item |
| std::set<TAG> tagcoll::Patch< ITEM, TAG >::added |
| std::set<TAG> tagcoll::Patch< ITEM, TAG >::removed |
1.5.1