#include <Filters.h>
Inheritance diagram for Tagcoll::Substitutions< T >:
Public Member Functions | |
virtual | ~Substitutions () |
T | change (const T &v) const |
Change a single value. | |
OpSet< T > | change (const OpSet< T > &values) const |
Change all the items in a set. | |
Protected Types | |
typedef std::map< T, T > | changes_t |
Protected Member Functions | |
virtual void | consumeItemUntagged (const T &item) |
Process an untagged item. | |
virtual void | consumeItem (const T &item, const OpSet< T > &tags) |
Process a tagged item, with its tags. | |
virtual void | consumeItemsUntagged (const OpSet< T > &items) |
Process a set of items, all with no tags. | |
Protected Attributes | |
changes_t | changes |
It uses a Consumer interface to allow to be populated using a decoder for collections such as TextFormat.
|
|
|
|
|
Change all the items in a set.
|
|
Change a single value.
|
|
Process a tagged item, with its tags.
Implements Tagcoll::Consumer< T, T >. |
|
Process a set of items, all with no tags.
Reimplemented from Tagcoll::Consumer< T, T >. |
|
Process an untagged item.
Implements Tagcoll::Consumer< T, T >. |
|
|