interface of a generic predicate in the Siena data model. More...
#include <types.h>
Classes | |
class | iterator |
interface of a generic predicate iterator. More... | |
Public Member Functions | |
virtual | ~predicate () |
virtual destructor | |
virtual iterator * | first () const =0 |
returns an iterator over this predicate. More... | |
virtual bool | covers (const message &m) const |
applies this predicate to a message. More... | |
interface of a generic predicate in the Siena data model.
A predicate is a set of filters representing a logical disjunctions of conjunctions of elementary conditions. Individual conjunctions can be accessed sequentially through a predicate::iterator.
|
virtual |
applies this predicate to a message.
This is a naive implementation of the matching function.
|
pure virtual |
returns an iterator over this predicate.
NULL
if this predicate is empty.