Horizon
src
rules
rule_descr.hpp
1
#pragma once
2
#include "rule.hpp"
3
#include <string>
4
5
namespace
horizon {
6
class
RuleDescription
{
7
public
:
8
RuleDescription
(
const
std::string &n,
bool
m,
bool
c,
bool
a =
false
)
9
: name(n), multi(m), can_check(c), needs_match_all(a)
10
{
11
}
12
13
std::string name;
14
bool
multi;
15
bool
can_check;
16
bool
needs_match_all;
17
};
18
19
extern
const
std::map<RuleID, RuleDescription> rule_descriptions;
20
}
// namespace horizon
horizon::RuleDescription
Definition:
rule_descr.hpp:6
Generated by
1.8.16