Adds sanity check to the rule id action

This commit is contained in:
Felipe Zimmerle
2015-09-02 19:19:19 -03:00
parent 6ab88472b1
commit 45d81e1c04
5 changed files with 313 additions and 12 deletions

View File

@@ -32,10 +32,14 @@ namespace actions {
class RuleId : public Action {
public:
explicit RuleId(std::string action);
explicit RuleId(std::string action)
: Action(action, ConfigurationKind) { }
bool init(std::string *error) override;
bool evaluate(Rule *rule, Assay *assay) override;
double rule_id;
private:
double m_ruleId;
};
} // namespace actions