Tagcoll::Patch< ITEM, TAG > Class Template Reference

Patch for the tagset of a specific item. More...

#include <Patches.h>

Collaboration diagram for Tagcoll::Patch< ITEM, TAG >:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

template<typename ITEM, typename TAG>
class Tagcoll::Patch< ITEM, TAG >

Patch for the tagset of a specific item.


Constructor & Destructor Documentation

template<typename ITEM, typename TAG>
Tagcoll::Patch< ITEM, TAG >::Patch ( const Patch< ITEM, TAG > &  p  )  throw () [inline]

template<typename ITEM, typename TAG>
Tagcoll::Patch< ITEM, TAG >::Patch ( const ITEM &  item  )  throw () [inline]

template<typename ITEM, typename TAG>
Tagcoll::Patch< ITEM, TAG >::Patch ( const ITEM &  item,
const OpSet< TAG > &  added,
const OpSet< TAG > &  removed 
) throw () [inline]

template<typename ITEM, typename TAG>
Tagcoll::Patch< ITEM, TAG >::~Patch (  )  [inline]


Member Function Documentation

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::add ( const TAG &  tag  )  throw () [inline]

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::add ( const OpSet< TAG > &  tags  )  throw () [inline]

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::remove ( const TAG &  tag  )  throw () [inline]

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::remove ( const OpSet< TAG > &  tags  )  throw () [inline]

template<typename ITEM, typename TAG>
const ITEM& Tagcoll::Patch< ITEM, TAG >::getItem (  )  const throw () [inline]

template<typename ITEM, typename TAG>
const OpSet<TAG>& Tagcoll::Patch< ITEM, TAG >::getAdded (  )  const throw () [inline]

template<typename ITEM, typename TAG>
const OpSet<TAG>& Tagcoll::Patch< ITEM, TAG >::getRemoved (  )  const throw () [inline]

template<typename ITEM, typename TAG>
Patch<ITEM, TAG> Tagcoll::Patch< ITEM, TAG >::getReverse (  )  const throw () [inline]

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::mergeWith ( const Patch< ITEM, TAG > &  patch  )  throw () [inline]

template<typename ITEM, typename TAG>
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::apply ( const OpSet< TAG > &  ts  )  const throw () [inline]

template<typename ITEM, typename TAG>
void Tagcoll::Patch< ITEM, TAG >::removeRedundant ( const OpSet< TAG >  ts  )  throw () [inline]


Member Data Documentation

template<typename ITEM, typename TAG>
ITEM Tagcoll::Patch< ITEM, TAG >::item [protected]

template<typename ITEM, typename TAG>
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::added [protected]

template<typename ITEM, typename TAG>
OpSet<TAG> Tagcoll::Patch< ITEM, TAG >::removed [protected]


The documentation for this class was generated from the following file:
Generated on Sat Jan 17 03:11:08 2009 for libtagcoll by  doxygen 1.5.1