Added: Logical operator "not" to expression language (see e.g. If and Eval commands).

This commit is contained in:
jthedering committed 2019-06-09 20:48:45 +00:00
1 parent c73cf6b7f2
commit e2d3da7a9e
6 files changed
+88

No files matched your search

+2
View File
@@ -25,6 +25,7 @@
#include "parser/RegexFunctions.h"
#include "parser/RegistryFunctions.h"
#include "parser/StringOperators.h"
#include "parser/LogicalOperators.h"
#include "FilterEngine.h"
#include "ExpressionFilterFactory.h"
@@ -45,6 +46,7 @@ void ExpressionFilterFactory::initialize(FilterEngine* engine)
parser->RemoveOprt(L"+");
parser->DefineOprt(new AddOperator());
parser->DefineInfixOprt(new NotOperator());
}
vector<IFilter*> ExpressionFilterFactory::createFilter(const wstring& configPath, wstring& command, wstring& parameters)