1#ifndef LINTEL_BOOTSTRAP_H
2#define LINTEL_BOOTSTRAP_H
4#include <magic_enum/magic_enum.hpp>
44 constexpr operator Value()
const {
return m_value; }
46 explicit operator bool() =
delete;
51 auto values = magic_enum::enum_values<Value>();
56 std::string
toString()
const {
return std::string(magic_enum::enum_name<>(m_value)); }
Definition BootstrapSequence.h:13
BootstrapSequence()=default
constexpr BootstrapSequence(std::string_view enumName)
Definition BootstrapSequence.h:39
constexpr BootstrapSequence(Value value)
Definition BootstrapSequence.h:33
std::string toString() const
Definition BootstrapSequence.h:56
Value
Definition BootstrapSequence.h:16
@ VirtualGroups
Definition BootstrapSequence.h:21
@ AdminUser
Definition BootstrapSequence.h:23
@ SingleInstance
Definition BootstrapSequence.h:18
@ Undefined
Definition BootstrapSequence.h:17
@ SharedMemory
Definition BootstrapSequence.h:22
@ Database
Definition BootstrapSequence.h:19
static std::set< Value > values()
Definition BootstrapSequence.h:49
friend std::ostream & operator<<(std::ostream &os, const BootstrapSequence &bootstrap)
Definition BootstrapSequence.h:59
Definition MessageQueue.h:25
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9