22 #ifndef __M2ETIS_PUBSUB_FILTER_FILTEREXPRESSIONS_NOTEQUALSATTRIBUTEFILTER_H__
23 #define __M2ETIS_PUBSUB_FILTER_FILTEREXPRESSIONS_NOTEQUALSATTRIBUTEFILTER_H__
31 template<
typename EventType,
typename AttributeType>
class EqualsAttributeFilter;
32 template<
typename EventType,
typename AttributeType>
class GreaterThanAttributeFilter;
33 template<
typename EventType,
typename AttributeType>
class LessThanAttributeFilter;
35 template<
typename EventType,
typename AttributeType>
36 class NotEqualsAttributeFilter :
public AttributeFilter<EventType, AttributeType> {
48 virtual bool matchAttribute(
const AttributeType & attribute)
const override {
77 template<
typename Archive>
78 void serialize(Archive & ar,
const unsigned int) {
79 ar & boost::serialization::base_object<AttributeFilter<EventType, AttributeType>>(*this);
virtual bool matchAttribute(const AttributeType &attribute) const override
NotEqualsAttributeFilter(const AttributeName attribute_id, const AttributeType &constants)
virtual bool overlaps(const AttributeFilter< EventType, AttributeType > *other_filter) const override
virtual ~NotEqualsAttributeFilter()
friend class boost::serialization::access
virtual bool overlaps(const Predicate< EventType > *other_predicate) const override
virtual void getAttributeType(const GreaterThanAttributeFilter< EventType, std::string > *)
NotEqualsAttributeFilter()
const std::vector< AttributeType > get_constants() const
virtual void getAttributeType(FilterVisitor< EventType > &visitor) const override
AttributeName get_attribute_id() const