interface of a generic filter in the attribute-based data model. More...
#include <attributes.h>
Classes | |
class | Iterator |
interface of a generic filter iterator. More... | |
Public Member Functions | |
virtual | ~Filter () |
virtual destructor | |
virtual Iterator * | first () const =0 |
returns an iterator over this filter. More... | |
virtual bool | covers (const Message &m) const |
applies this filter to a message. More... | |
interface of a generic filter in the attribute-based data model.
A filter is a set of constraint representing a logical conjunction of elementary conditions. Individual constraints can be accessed sequentially through a Filter::Iterator.
|
virtual |
applies this filter to a message.
This is a naive implementation of the matching function.
|
pure virtual |
returns an iterator over this filter.
NULL
if this filter is empty.