virthttp  0.0
libvirt http interface
Static Public Member Functions | Static Public Attributes | Static Protected Attributes | List of all members
virt::enums::domain::State Class Reference

#include <State.hpp>

Inheritance diagram for virt::enums::domain::State:
VirtEnumStorage< virDomainState > VirtEnumBase< State > EnumHelper< State >

Static Public Member Functions

static constexpr auto from_string (std::string_view sv)
 

Static Public Attributes

static constexpr auto NOSTATE = Underlying::NOSTATE
 
static constexpr auto RUNNING = Underlying::RUNNING
 
static constexpr auto BLOCKED = Underlying::BLOCKED
 
static constexpr auto PAUSED = Underlying::PAUSED
 
static constexpr auto SHUTDOWN = Underlying::SHUTDOWN
 
static constexpr auto SHUTOFF = Underlying::SHUTOFF
 
static constexpr auto CRASHED = Underlying::CRASHED
 
static constexpr auto PMSUSPENDED = Underlying::PMSUSPENDED
 
static constexpr auto ENUM_END = Underlying::ENUM_END
 

Static Protected Attributes

static constexpr std::array values
 

Additional Inherited Members

- Public Member Functions inherited from VirtEnumBase< State >
constexpr VirtEnumBase () noexcept
 
constexpr VirtEnumBase (EHTag, T e) noexcept
 
constexpr VirtEnumBase (E e) noexcept
 
constexpr State & operator= (E e) noexcept
 
- Public Member Functions inherited from EnumHelper< State >
constexpr std::string_view to_string () const noexcept
 
constexpr auto from_string_base (std::string_view v) const noexcept
 

Member Function Documentation

static constexpr auto virt::enums::domain::State::from_string ( std::string_view  sv)
inlinestatic

Member Data Documentation

constexpr auto virt::enums::domain::State::BLOCKED = Underlying::BLOCKED
static
constexpr auto virt::enums::domain::State::CRASHED = Underlying::CRASHED
static
constexpr auto virt::enums::domain::State::ENUM_END = Underlying::ENUM_END
static
constexpr auto virt::enums::domain::State::NOSTATE = Underlying::NOSTATE
static
constexpr auto virt::enums::domain::State::PAUSED = Underlying::PAUSED
static
constexpr auto virt::enums::domain::State::PMSUSPENDED = Underlying::PMSUSPENDED
static
constexpr auto virt::enums::domain::State::RUNNING = Underlying::RUNNING
static
constexpr auto virt::enums::domain::State::SHUTDOWN = Underlying::SHUTDOWN
static
constexpr auto virt::enums::domain::State::SHUTOFF = Underlying::SHUTOFF
static
constexpr std::array virt::enums::domain::State::values
staticprotected
Initial value:
= {"No State", "Running", "Blocked", "Paused",
"Shutting down", "Shutoff", "Crashed", "Power Management Suspended"}

The documentation for this class was generated from the following file: