Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Tagcoll::InputMerger< T, Tag > Class Template Reference

#include <InputMerger.h>

Inheritance diagram for Tagcoll::InputMerger< T, Tag >:

Tagcoll::TagcollConsumer< T, Tag > List of all members.

Public Member Functions

virtual ~InputMerger () throw ()
virtual void consume (const T &item) throw ()
virtual void consume (const T &item, const OpSet< Tag > &tags) throw ()
bool hasItem (const T &item) const throw ()
OpSet< Tag > getTagsetForItem (const T &item) const throw ()
void output (TagcollConsumer< T, Tag > &consumer) const throw ()
TagcollChange< T, Tag > applyChange (const TagcollChange< T, Tag > &change) throw ()
OpSet< Tag > getAllTags () const throw ()
OpSet< Tag > getCompanionTags (const OpSet< Tag > &ts) const throw ()
OpSet< T > getRelatedItems (const T &item, int maxdistance=1) const throw ()
OpSet< T > getRelatedItems (const OpSet< Tag > &ts, int maxdistance=1) const throw ()
OpSet< T > getItemsContaining (const OpSet< Tag > &ts) const throw ()

Protected Attributes

std::map< T, OpSet< Tag > > coll

Friends

class PatchList< T >

template<class T, class Tag>
class Tagcoll::InputMerger< T, Tag >


Constructor & Destructor Documentation

template<class T, class Tag>
virtual Tagcoll::InputMerger< T, Tag >::~InputMerger (   )  throw () [inline, virtual]
 


Member Function Documentation

template<class T, class Tag>
TagcollChange< T, Tag > InputMerger::applyChange (  const TagcollChange< T, Tag > &  change  )  throw ()
 

template<class T, class Tag>
void InputMerger::consume (  const T &  item,
const OpSet< Tag > &  tags
)  throw () [virtual]
 

Implements Tagcoll::TagcollConsumer< T, Tag >.

template<class T, class Tag>
void InputMerger::consume (  const T &  item  )  throw () [virtual]
 

Implements Tagcoll::TagcollConsumer< T, Tag >.

template<class T, class Tag>
OpSet< Tag > InputMerger::getAllTags (   )  const throw ()
 

template<class T, class Tag>
OpSet< Tag > InputMerger::getCompanionTags (  const OpSet< Tag > &  ts  )  const throw ()
 

template<class T, class Tag>
OpSet< T > InputMerger::getItemsContaining (  const OpSet< Tag > &  ts  )  const throw ()
 

template<class T, class Tag>
OpSet< T > InputMerger::getRelatedItems (  const OpSet< Tag > &  ts,
int  maxdistance = 1
)  const throw ()
 

template<class T, class Tag>
OpSet< T > InputMerger::getRelatedItems (  const T &  item,
int  maxdistance = 1
)  const throw ()
 

template<class T, class Tag>
OpSet< Tag > InputMerger::getTagsetForItem (  const T &  item  )  const throw ()
 

template<class T, class Tag>
bool Tagcoll::InputMerger< T, Tag >::hasItem (  const T &  item  )  const throw () [inline]
 

template<class T, class Tag>
void InputMerger::output (  TagcollConsumer< T, Tag > &  consumer  )  const throw ()
 


Friends And Related Function Documentation

template<class T, class Tag>
friend class PatchList< T > [friend]
 


Member Data Documentation

template<class T, class Tag>
std::map< T, OpSet<Tag> > Tagcoll::InputMerger< T, Tag >::coll [protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 16 19:28:48 2004 for libtagcoll by doxygen 1.3.8