This class extends the sorting expression in order to check if the context matches the negated expression. More...
#include <ComplementExpression.h>
Public Member Functions | |
ComplementExpression () | |
~ComplementExpression () | |
std::set< HomogeneousDevCol * > | evaluate () |
This method evaluates data using the expression and returns the result. | |
bool | match (SortingContext) |
Private Attributes | |
SortingExpression * | pNegatedExpression_ |
This class extends the sorting expression in order to check if the context matches the negated expression.
Definition at line 16 of file ComplementExpression.h.
fesa::ComplementExpression::ComplementExpression | ( | ) |
Definition at line 93 of file ComplementExpression.cpp.
fesa::ComplementExpression::~ComplementExpression | ( | ) |
Definition at line 95 of file ComplementExpression.cpp.
References pNegatedExpression_.
std::set< HomogeneousDevCol * > fesa::ComplementExpression::evaluate | ( | ) | [virtual] |
This method evaluates data using the expression and returns the result.
Implements fesa::SortingExpression.
Definition at line 17 of file ComplementExpression.cpp.
References fesa::SortingExpression::evaluate(), and pNegatedExpression_.
bool fesa::ComplementExpression::match | ( | SortingContext | sc | ) | [virtual] |
Implements fesa::SortingExpression.
Definition at line 25 of file ComplementExpression.cpp.
References fesa::SortingContext::className_, fesa::SortingContext::formula_, pNegatedExpression_, and fesa::SortingExpression::tryMatch().
expresion to match
Definition at line 29 of file ComplementExpression.h.
Referenced by evaluate(), match(), and ~ComplementExpression().