This class extends the sorting expression in order to check if the context matches a composition expression. More...
#include <UnionExpression.h>
Public Member Functions | |
std::set< HomogeneousDevCol * > | evaluate () |
This method evaluates data using the expression and returns the result. | |
bool | match (SortingContext) |
UnionExpression () | |
~UnionExpression () | |
Private Attributes | |
SortingExpression * | pExpr1_ |
SortingExpression * | pExpr2_ |
This class extends the sorting expression in order to check if the context matches a composition expression.
Definition at line 17 of file UnionExpression.h.
fesa::UnionExpression::UnionExpression | ( | ) |
Definition at line 141 of file UnionExpression.cpp.
fesa::UnionExpression::~UnionExpression | ( | ) |
Definition at line 143 of file UnionExpression.cpp.
std::set< HomogeneousDevCol * > fesa::UnionExpression::evaluate | ( | ) | [virtual] |
This method evaluates data using the expression and returns the result.
Implements fesa::SortingExpression.
Definition at line 115 of file UnionExpression.cpp.
References fesa::SortingExpression::evaluate(), pExpr1_, and pExpr2_.
bool fesa::UnionExpression::match | ( | SortingContext | sc | ) | [virtual] |
Implements fesa::SortingExpression.
Definition at line 11 of file UnionExpression.cpp.
References fesa::SortingContext::className_, fesa::SortingContext::formula_, pExpr1_, pExpr2_, and fesa::SortingExpression::tryMatch().
SortingExpression* fesa::UnionExpression::pExpr1_ [private] |
First expression
Definition at line 30 of file UnionExpression.h.
Referenced by evaluate(), match(), and ~UnionExpression().
SortingExpression* fesa::UnionExpression::pExpr2_ [private] |
Second expression
Definition at line 35 of file UnionExpression.h.
Referenced by evaluate(), match(), and ~UnionExpression().