10 #include "../helpers/Enum.h" 14 #define SUPPORT_STATE(X) \ 17 X(UnsupportedOptional, -1) \ 21 X(ExternallySupported, 3) \ 25 enum class SupportState {
26 #define EXP(x, v) x = v, 34 static constexpr std::string_view getName(SupportState ss) noexcept {
36 #define EXP(x, v) case SupportState::x: return #x; 66 SupportState
supportState(
const std::string &module)
const;
68 void parseLine(std::string_view line) noexcept;
70 std::vector<std::pair<std::string, SupportState>> entries;
Parses supported.conf and holds/retrieves the information.
Definition: SupportedConf.h:51
SupportState supportState(const std::string &module) const
Find supported state of module.
Helper class to iterate over enum values from Enum::First to Enum::Last.
Definition: Enum.h:11
Definition: Branches.h:15