00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 00003 #ifndef _FIELD_EXPRESSION_H_ 00004 #define _FIELD_EXPRESSION_H_ 00005 00006 #include <fesa-core/Sorting/SortingExpression.h> 00007 00008 namespace fesa 00009 { 00010 00016 class FieldExpression : public SortingExpression 00017 { 00018 00019 public: 00020 00021 std::set<HomogeneousDevCol *> evaluate(); 00022 bool match(SortingContext); 00023 00024 private: 00025 00029 std::string fieldNameStr_; 00033 std::string fieldValueStr_; 00034 00035 std::set<HomogeneousDevCol *> devColCol_; 00036 00037 }; 00038 00039 } // fesa 00040 00041 #endif // _FIELD_EXPRESSION_H_