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

#include <PoolState.hpp>

Inheritance diagram for virt::StoragePool::State:
VirtEnumStorage< virStoragePoolState > VirtEnumBase< State > EnumHelper< State >

Static Public Member Functions

static constexpr auto from_string (std::string_view sv)
 

Static Public Attributes

static constexpr auto INACTIVE = Underlying::INACTIVE
 
static constexpr auto BUILDING = Underlying::BUILDING
 
static constexpr auto RUNNING = Underlying::RUNNING
 
static constexpr auto DEGRADED = Underlying::DEGRADED
 
static constexpr auto INACCESSIBLE = Underlying::INACCESSIBLE
 

Static Protected Attributes

static constexpr std::array values = {"inactive", "building", "running", "degraded", "inaccessible"}
 

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::StoragePool::State::from_string ( std::string_view  sv)
inlinestatic

Member Data Documentation

constexpr auto virt::StoragePool::State::BUILDING = Underlying::BUILDING
static
constexpr auto virt::StoragePool::State::DEGRADED = Underlying::DEGRADED
static
constexpr auto virt::StoragePool::State::INACCESSIBLE = Underlying::INACCESSIBLE
static
constexpr auto virt::StoragePool::State::INACTIVE = Underlying::INACTIVE
static
constexpr auto virt::StoragePool::State::RUNNING = Underlying::RUNNING
static
constexpr std::array virt::StoragePool::State::values = {"inactive", "building", "running", "degraded", "inaccessible"}
staticprotected

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