Split config generator to separated files.
This commit is contained in:
parent
9dc2525ce1
commit
62f086f607
10 changed files with 322 additions and 140 deletions
|
@ -81,6 +81,7 @@ public:
|
|||
inline Algorithm(const char *algo) : m_id(parse(algo)) {}
|
||||
inline Algorithm(Id id) : m_id(id) {}
|
||||
|
||||
inline bool isCN() const { auto f = family(); return f == CN || f == CN_LITE || f == CN_HEAVY || f == CN_PICO; }
|
||||
inline bool isEqual(const Algorithm &other) const { return m_id == other.m_id; }
|
||||
inline bool isValid() const { return m_id != INVALID; }
|
||||
inline const char *name() const { return name(false); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue