10#include "../helpers/Enum.h"
14#define SUPPORT_STATE(X) \
17 X(UnsupportedOptional, -1) \
21 X(ExternallySupported, 3) \
25enum class SupportState {
26#define EXP(x, v) x = v,
34static constexpr std::string_view getName(SupportState ss)
noexcept {
36#define EXP(x, v) case SupportState::x: return #x;
46using SupportStateRange = SlHelpers::EnumRange<SupportState>;
53 SupportedConf() =
delete;
68 void parseLine(std::string_view line)
noexcept;
70 std::vector<std::pair<std::string, SupportState>> entries;
SupportState supportState(const std::string &module) const
Find supported state of module.
SupportedConf(std::string_view conf)
Parse conf and store.