m2etis  0.4
m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType > Class Template Referenceabstract

#include <AttributeTypeInformation.h>

Inheritance diagram for m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >:
Inheritance graph

Public Member Functions

 AttributeFilter ()
 
 AttributeFilter (const AttributeName attribute_id, const std::vector< AttributeType > &constants)
 
virtual ~AttributeFilter ()
 
virtual void getAttributeType (FilterVisitor< EventType > &visitor) const override
 
virtual bool match (const EventType &event) const override
 
virtual bool matchAttribute (const AttributeType &attribute_value) const =0
 
virtual bool overlaps (const Predicate< EventType > *other_predicate) const override
 
virtual bool overlaps (const AttributeFilter *) const =0
 
template<typename OtherAttributeType >
bool overlaps (const AttributeFilter< EventType, OtherAttributeType > *) const
 
const std::vector< AttributeType > get_constants () const
 
AttributeName get_attribute_id () const
 
- Public Member Functions inherited from m2etis::pubsub::filter::Predicate< EventType >
virtual ~Predicate ()
 
virtual void Accept (FilterVisitor< EventType > &filter_visitor) const override
 
- Public Member Functions inherited from m2etis::pubsub::filter::FilterExp< EventType >
 FilterExp ()
 
virtual ~FilterExp ()
 
bool operator== (const FilterExp &other_filter) const
 
bool operator!= (const FilterExp &other_filter) const
 
size_t hash () const
 
virtual operator std::string () const
 
std::string toString ()
 

Friends

class boost::serialization::access
 

Additional Inherited Members

- Public Types inherited from m2etis::pubsub::filter::FilterExp< EventType >
typedef boost::shared_ptr< FilterExp< EventType > > FilterExpPtr
 

Detailed Description

template<typename EventType, typename AttributeType>
class m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >

Definition at line 60 of file AttributeTypeInformation.h.

Constructor & Destructor Documentation

template<typename EventType, typename AttributeType>
m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::AttributeFilter ( )
inline

Definition at line 42 of file AttributeFilter.h.

template<typename EventType, typename AttributeType>
m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::AttributeFilter ( const AttributeName  attribute_id,
const std::vector< AttributeType > &  constants 
)
inline

Definition at line 43 of file AttributeFilter.h.

template<typename EventType, typename AttributeType>
virtual m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::~AttributeFilter ( )
inlinevirtual

Definition at line 45 of file AttributeFilter.h.

Member Function Documentation

template<typename EventType, typename AttributeType>
AttributeName m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::get_attribute_id ( ) const
inline

Definition at line 82 of file AttributeFilter.h.

Here is the caller graph for this function:

template<typename EventType, typename AttributeType>
const std::vector<AttributeType> m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::get_constants ( ) const
inline

Definition at line 80 of file AttributeFilter.h.

Here is the caller graph for this function:

template<typename EventType, typename AttributeType>
virtual void m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::getAttributeType ( FilterVisitor< EventType > &  visitor) const
inlineoverridevirtual
template<typename EventType, typename AttributeType>
virtual bool m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::match ( const EventType &  event) const
inlineoverridevirtual

Implements m2etis::pubsub::filter::Predicate< EventType >.

Definition at line 51 of file AttributeFilter.h.

Here is the call graph for this function:

template<typename EventType, typename AttributeType>
virtual bool m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::matchAttribute ( const AttributeType &  attribute_value) const
pure virtual
template<typename EventType, typename AttributeType>
virtual bool m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::overlaps ( const Predicate< EventType > *  other_predicate) const
inlineoverridevirtual

Reimplemented from m2etis::pubsub::filter::Predicate< EventType >.

Definition at line 64 of file AttributeFilter.h.

Here is the caller graph for this function:

template<typename EventType, typename AttributeType>
template<typename OtherAttributeType >
bool m2etis::pubsub::filter::AttributeFilter< EventType, AttributeType >::overlaps ( const AttributeFilter< EventType, OtherAttributeType > *  ) const
inline

Definition at line 76 of file AttributeFilter.h.

Friends And Related Function Documentation

template<typename EventType, typename AttributeType>
friend class boost::serialization::access
friend

Definition at line 107 of file AttributeFilter.h.


The documentation for this class was generated from the following files: