00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 00003 #ifndef _COMPLEMENT_EXPRESSION_H_ 00004 #define _COMPLEMENT_EXPRESSION_H_ 00005 00006 #include <fesa-core/Sorting/SortingExpression.h> 00007 00008 namespace fesa 00009 { 00010 00016 class ComplementExpression : public SortingExpression 00017 { 00018 public: 00019 ComplementExpression(); 00020 ~ComplementExpression(); 00021 std::set<HomogeneousDevCol *> evaluate(); 00022 bool match(SortingContext); 00023 00024 private: 00025 00029 SortingExpression * pNegatedExpression_; 00030 00031 }; 00032 00033 } // fesa 00034 00035 #endif // _COMPLEMENT_EXPRESSION_H_