Adds support to custom operator's message in case of a match

This commit is contained in:
Felipe Zimmerle
2016-09-12 15:40:03 -03:00
parent ad61838118
commit 0a22f880dd
6 changed files with 34 additions and 22 deletions

View File

@@ -50,6 +50,8 @@ class Operator {
virtual bool evaluate(Transaction *transaction, const std::string &str);
static Operator *instantiate(std::string op);
std::string m_match_message;
protected:
bool debug(Transaction *transaction, int x, std::string a);
};