00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 00003 #ifndef _INTERSECT_EXPRESSION_H_ 00004 #define _INTERSECT_EXPRESSION_H_ 00005 00006 #include <fesa-core/Sorting/SortingExpression.h> 00007 00008 #include <set> 00009 00010 namespace fesa 00011 { 00012 00013 class HomogeneousDevCol; 00014 00020 class IntersectExpression : public SortingExpression 00021 { 00022 public: 00023 IntersectExpression(); 00024 ~IntersectExpression(); 00025 std::set<HomogeneousDevCol*> evaluate(); 00026 bool match(SortingContext); 00027 00028 private: 00029 SortingExpression* pExpr1_; 00030 SortingExpression* pExpr2_; 00031 00032 }; 00033 00034 } // fesa 00035 00036 #endif // _INTERSECT_EXPRESSION_H_