Tagcoll::AddDerived< ITEM > Class Template Reference

Filter that adds derived tags to a collection. More...

#include <DerivedTags.h>

Inheritance diagram for Tagcoll::AddDerived< ITEM >:

Inheritance graph
[legend]
Collaboration diagram for Tagcoll::AddDerived< ITEM >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AddDerived ()
 AddDerived (Consumer< ITEM, std::string > &cons)
 AddDerived (const DerivedTags &dtags)
 AddDerived (Consumer< ITEM, std::string > &cons, const DerivedTags &dtags)
virtual ~AddDerived ()
DerivedTagsderivedTags ()
 Access the internal DerivedTags table.
const DerivedTagsderivedTags () const
 Access the internal DerivedTags table (const version).

Protected Member Functions

virtual void consumeItemUntagged (const ITEM &item)
 Process an untagged item.
virtual void consumeItem (const ITEM &item, const OpSet< std::string > &tags)
 Process a tagged item, with its tags.
virtual void consumeItemsUntagged (const OpSet< ITEM > &items)
 Process a set of items, all with no tags.
virtual void consumeItems (const OpSet< ITEM > &items, const OpSet< std::string > &tags)
 Process a set of items identically tagged, with their tags.

Protected Attributes

DerivedTags dtags

Detailed Description

template<class ITEM>
class Tagcoll::AddDerived< ITEM >

Filter that adds derived tags to a collection.


Constructor & Destructor Documentation

template<class ITEM>
Tagcoll::AddDerived< ITEM >::AddDerived (  )  [inline]

template<class ITEM>
Tagcoll::AddDerived< ITEM >::AddDerived ( Consumer< ITEM, std::string > &  cons  )  [inline]

template<class ITEM>
Tagcoll::AddDerived< ITEM >::AddDerived ( const DerivedTags dtags  )  [inline]

template<class ITEM>
Tagcoll::AddDerived< ITEM >::AddDerived ( Consumer< ITEM, std::string > &  cons,
const DerivedTags dtags 
) [inline]

template<class ITEM>
virtual Tagcoll::AddDerived< ITEM >::~AddDerived (  )  [inline, virtual]


Member Function Documentation

template<class ITEM>
virtual void Tagcoll::AddDerived< ITEM >::consumeItemUntagged ( const ITEM &  item  )  [inline, protected, virtual]

Process an untagged item.

Reimplemented from Tagcoll::Filter< ITEM, std::string >.

template<class ITEM>
virtual void Tagcoll::AddDerived< ITEM >::consumeItem ( const ITEM &  item,
const OpSet< std::string > &  tags 
) [inline, protected, virtual]

Process a tagged item, with its tags.

Reimplemented from Tagcoll::Filter< ITEM, std::string >.

template<class ITEM>
virtual void Tagcoll::AddDerived< ITEM >::consumeItemsUntagged ( const OpSet< ITEM > &  items  )  [inline, protected, virtual]

Process a set of items, all with no tags.

Reimplemented from Tagcoll::Consumer< ITEM, std::string >.

template<class ITEM>
virtual void Tagcoll::AddDerived< ITEM >::consumeItems ( const OpSet< ITEM > &  items,
const OpSet< std::string > &  tags 
) [inline, protected, virtual]

Process a set of items identically tagged, with their tags.

Reimplemented from Tagcoll::Consumer< ITEM, std::string >.

template<class ITEM>
DerivedTags& Tagcoll::AddDerived< ITEM >::derivedTags (  )  [inline]

Access the internal DerivedTags table.

template<class ITEM>
const DerivedTags& Tagcoll::AddDerived< ITEM >::derivedTags (  )  const [inline]

Access the internal DerivedTags table (const version).


Member Data Documentation

template<class ITEM>
DerivedTags Tagcoll::AddDerived< ITEM >::dtags [protected]


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