interface of a generic predicate in the "tagset" Siena data model. More...
#include <tags.h>
Classes | |
class | Iterator |
interface of a generic reference to a tagset in a tagset list. More... | |
Public Member Functions | |
virtual | ~TagSetList () |
virtual destructor | |
virtual Iterator * | first () const =0 |
returns an iterator over this predicate. More... | |
interface of a generic predicate in the "tagset" Siena data model.
A predicate is essentially a collection of tag sets, thus the name TagSetList. Each tag set F in a predicate represents a logical filter that matches a message described by another tagset M when M is a superset of F. Thus a message defined by a tag set M matches a predicate P if and only if P contains at least one tag set F such that M is a superset of F. The tag sets in a predicate can be accessed sequentially through a TagSetList::Iterator.
The following code exemplifies the structure and access mode for a TagSetList:
Notice that iterators must be explicitly deallocated.
|
pure virtual |
returns an iterator over this predicate.