2 #include "nlohmann/json_fwd.hpp"
3 #include "rule_symbol_checks.hpp"
4 #include "rules/rules.hpp"
5 #include "util/uuid.hpp"
14 void load_from_json(
const json &j)
override;
16 json serialize()
const override;
17 std::set<RuleID> get_rule_ids()
const override;
18 const Rule *get_rule(RuleID
id)
const override;
19 const Rule *get_rule(RuleID
id,
const UUID &uu)
const override;
20 std::map<UUID, const Rule *> get_rules(RuleID
id)
const override;
21 void remove_rule(RuleID
id,
const UUID &uu)
override;
22 Rule *add_rule(RuleID
id)
override;
Definition: rule_symbol_checks.hpp:6
Definition: symbol_rules.hpp:10
Definition: symbol.hpp:71
This class encapsulates a UUID and allows it to be uses as a value type.
Definition: uuid.hpp:16
a class to store JSON values
Definition: json.hpp:166
basic_json<> json
default JSON class
Definition: json_fwd.hpp:61