Siena C++ API documentation.

class Filter: public ConstraintSet

expression filtering notifications

Inheritance:


Public Methods

oiterator add_constraint(const string &, SienaOperator, const AttributeValue &)
adds a constraint to the Filter
oiterator add_constraint(const string &, const AttributeConstraint &)
adds a constraint to the Filter


Documentation

A Filter represents a boolean expression to be evaluated against an Event. It consists of a set of constraints. Each constraint poses a condition on an attribute of the Event. A Filter can pose multiple constraints on the same attribute.

A Filter is implemented by means of a multimap<string, AttributeConstraint>, therefore a Filter can be manipulated using all the methods of a standard multimap. Two additional utility methods are provided to add constraints.


This class has no child classes.
See Also:
AttributeConstraint

Alphabetic index HTML hierarchy of classes or Java


This document is part of Siena. Please, direct any comment or suggestion to Antonio Carzaniga