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

#include <LifecycleAction.hpp>

Inheritance diagram for virt::enums::domain::LifecycleAction:
VirtEnumStorage< virDomainLifecycleAction > VirtEnumBase< LifecycleAction > EnumHelper< LifecycleAction >

Static Public Member Functions

static constexpr auto from_string (std::string_view sv)
 

Static Public Attributes

static constexpr auto DESTROY = Underlying::DESTROY
 
static constexpr auto RESTART = Underlying::RESTART
 
static constexpr auto RESTART_RENAME = Underlying::RESTART_RENAME
 
static constexpr auto PRESERVE = Underlying::PRESERVE
 
static constexpr auto COREDUMP_DESTROY = Underlying::COREDUMP_DESTROY
 
static constexpr auto COREDUMP_RESTART = Underlying::COREDUMP_RESTART
 

Static Protected Attributes

static constexpr std::array values = {"destroy", "restart", "restart_rename", "preserve", "coredump_destroy", "coredump_restart"}
 

Additional Inherited Members

- Public Member Functions inherited from VirtEnumBase< LifecycleAction >
constexpr VirtEnumBase () noexcept
 
constexpr VirtEnumBase (EHTag, T e) noexcept
 
constexpr VirtEnumBase (E e) noexcept
 
constexpr LifecycleAction & operator= (E e) noexcept
 
- Public Member Functions inherited from EnumHelper< LifecycleAction >
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::LifecycleAction::from_string ( std::string_view  sv)
inlinestatic

Member Data Documentation

constexpr auto virt::enums::domain::LifecycleAction::COREDUMP_DESTROY = Underlying::COREDUMP_DESTROY
static
constexpr auto virt::enums::domain::LifecycleAction::COREDUMP_RESTART = Underlying::COREDUMP_RESTART
static
constexpr auto virt::enums::domain::LifecycleAction::DESTROY = Underlying::DESTROY
static
constexpr auto virt::enums::domain::LifecycleAction::PRESERVE = Underlying::PRESERVE
static
constexpr auto virt::enums::domain::LifecycleAction::RESTART = Underlying::RESTART
static
constexpr auto virt::enums::domain::LifecycleAction::RESTART_RENAME = Underlying::RESTART_RENAME
static
constexpr std::array virt::enums::domain::LifecycleAction::values = {"destroy", "restart", "restart_rename", "preserve", "coredump_destroy", "coredump_restart"}
staticprotected

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