This class extends the SortingExpression in order to know if the context matches a field. More...
#include <FieldExpression.h>
Public Member Functions | |
std::set< HomogeneousDevCol * > | evaluate () |
This method evaluates data using the expression and returns the result. | |
bool | match (SortingContext) |
Private Attributes | |
std::string | fieldNameStr_ |
std::string | fieldValueStr_ |
std::set< HomogeneousDevCol * > | devColCol_ |
This class extends the SortingExpression in order to know if the context matches a field.
Definition at line 16 of file FieldExpression.h.
std::set< HomogeneousDevCol * > fesa::FieldExpression::evaluate | ( | ) | [virtual] |
This method evaluates data using the expression and returns the result.
Implements fesa::SortingExpression.
Definition at line 186 of file FieldExpression.cpp.
References devColCol_.
bool fesa::FieldExpression::match | ( | SortingContext | sc | ) | [virtual] |
Implements fesa::SortingExpression.
Definition at line 19 of file FieldExpression.cpp.
References fesa::SortingContext::className_, devColCol_, fieldNameStr_, fieldValueStr_, fesa::SortingContext::formula_, fesa::AbstractField::getAsString(), fesa::HomogeneousDevCol::getDevCol(), fesa::DataStore::getField(), fesa::HomogeneousDevCol::getSize(), fesa::SortingExpression::pDevCol_, and fesa::HomogeneousDevCol::setSharedCriteria().
std::set<HomogeneousDevCol *> fesa::FieldExpression::devColCol_ [private] |
Definition at line 35 of file FieldExpression.h.
Referenced by evaluate(), and match().
std::string fesa::FieldExpression::fieldNameStr_ [private] |
std::string fesa::FieldExpression::fieldValueStr_ [private] |