This class extends the sorting expression in order to check if the context matches the intersection between the two sorting expressions. More...
#include <IntersectExpression.h>
Public Member Functions | |
IntersectExpression () | |
~IntersectExpression () | |
std::set< HomogeneousDevCol * > | evaluate () |
This method evaluates data using the expression and returns the result. | |
bool | match (SortingContext) |
Private Attributes | |
SortingExpression * | pExpr1_ |
SortingExpression * | pExpr2_ |
This class extends the sorting expression in order to check if the context matches the intersection between the two sorting expressions.
Definition at line 20 of file IntersectExpression.h.
fesa::IntersectExpression::IntersectExpression | ( | ) |
Definition at line 153 of file IntersectExpression.cpp.
fesa::IntersectExpression::~IntersectExpression | ( | ) |
Definition at line 155 of file IntersectExpression.cpp.
std::set< HomogeneousDevCol * > fesa::IntersectExpression::evaluate | ( | ) | [virtual] |
This method evaluates data using the expression and returns the result.
Implements fesa::SortingExpression.
Definition at line 125 of file IntersectExpression.cpp.
References fesa::SortingExpression::evaluate(), fesa::HomogeneousDevCol::getSize(), pExpr1_, and pExpr2_.
bool fesa::IntersectExpression::match | ( | SortingContext | sc | ) | [virtual] |
Implements fesa::SortingExpression.
Definition at line 13 of file IntersectExpression.cpp.
References fesa::SortingContext::className_, fesa::SortingContext::formula_, pExpr1_, pExpr2_, and fesa::SortingExpression::tryMatch().
Definition at line 29 of file IntersectExpression.h.
Referenced by evaluate(), match(), and ~IntersectExpression().
Definition at line 30 of file IntersectExpression.h.
Referenced by evaluate(), match(), and ~IntersectExpression().