22 #ifndef __M2ETIS_PUBSUB_FILTER_FILTEREXPRESSIONS_FALSEPREDICATE_H__
23 #define __M2ETIS_PUBSUB_FILTER_FILTEREXPRESSIONS_FALSEPREDICATE_H__
33 template <
typename EventType>
39 filter_visitor.
Visit(
this);
42 virtual bool match(
const EventType &)
const {
return false; }
50 template <
typename Archive>
51 void serialize(Archive & ar,
const unsigned int version) {
52 ar & boost::serialization::base_object<Predicate<EventType> >(*this);
friend class boost::serialization::access
virtual bool match(const EventType &) const
virtual ~FalsePredicate()
virtual void Accept(FilterVisitor< EventType > &filter_visitor) const override
virtual void Visit(const FilterExp< EventType > *)=0
virtual bool overlaps(const Predicate< EventType > *) const