virthttp  0.0
libvirt http interface
Classes | Public Member Functions | Static Public Member Functions | List of all members
virt::StoragePool Struct Reference

#include <StoragePool.hpp>

Classes

class  BuildFlag
 
class  CreateFlag
 
class  DeleteFlag
 
struct  Info
 
class  State
 

Public Member Functions

constexpr StoragePool () noexcept=default
 
constexpr StoragePool (const StoragePool &) noexcept=delete
 
 StoragePool (StoragePool &&) noexcept
 
constexpr StoragePooloperator= (const StoragePool &) noexcept=delete
 
StoragePooloperator= (StoragePool &&) noexcept
 
 ~StoragePool () noexcept
 
constexpr StoragePool (virStoragePoolPtr ptr) noexcept
 
constexpr operator bool () const noexcept
 
bool build (BuildFlag flags) noexcept
 
bool create (CreateFlag flags) noexcept
 
bool delete_ (DeleteFlag flags) noexcept
 
bool destroy () noexcept
 
TFE getAutostart () const noexcept
 
Connection getConnect () const noexcept
 
auto getInfo () const noexcept-> std::optional< Info >
 
passive< gsl::czstring<> > getName () const noexcept
 
auto getUUID () const -> std::optional< std::array< unsigned char, VIR_UUID_BUFLEN >>
 
auto getUUIDString () const noexcept-> std::optional< std::array< char, VIR_UUID_STRING_BUFLEN >>
 
passive< gsl::czstring<> > getXMLDesc () const noexcept
 
TFE isActive () const noexcept
 
TFE isPersistent () const noexcept
 
auto listAllVolumes () const noexcept
 
auto extractAllVolumes () const
 
auto listVolumesNames () const noexcept
 
int numOfVolumes () const noexcept
 
bool refresh () noexcept
 
bool setAutostart (bool autostart) noexcept
 
bool undefine () noexcept
 
StorageVol volLookupByName (gsl::czstring<> name) const noexcept
 

Static Public Member Functions

static StoragePool createXML (Connection &conn, gsl::czstring<> xml, CreateFlag flags)
 
static StoragePool defineXML (Connection &conn, gsl::czstring<> xml)
 

Constructor & Destructor Documentation

constexpr virt::StoragePool::StoragePool ( )
defaultnoexcept
constexpr virt::StoragePool::StoragePool ( const StoragePool )
deletenoexcept
virt::StoragePool::StoragePool ( StoragePool &&  oth)
inlinenoexcept
virt::StoragePool::~StoragePool ( )
inlinenoexcept
constexpr virt::StoragePool::StoragePool ( virStoragePoolPtr  ptr)
inlineexplicitnoexcept

Member Function Documentation

bool virt::StoragePool::build ( BuildFlag  flags)
inlinenoexcept
bool virt::StoragePool::create ( CreateFlag  flags)
inlinenoexcept
StoragePool virt::StoragePool::createXML ( Connection conn,
gsl::czstring<>  xml,
CreateFlag  flags 
)
inlinestatic
StoragePool virt::StoragePool::defineXML ( Connection conn,
gsl::czstring<>  xml 
)
inlinestatic
bool virt::StoragePool::delete_ ( DeleteFlag  flags)
inlinenoexcept
bool virt::StoragePool::destroy ( )
inlinenoexcept
auto virt::StoragePool::extractAllVolumes ( ) const
inline
TFE virt::StoragePool::getAutostart ( ) const
inlinenoexcept
Connection virt::StoragePool::getConnect ( ) const
inlinenoexcept
auto virt::StoragePool::getInfo ( ) const -> std::optional<Info>
inlinenoexcept
gsl::czstring virt::StoragePool::getName ( ) const
inlinenoexcept
auto virt::StoragePool::getUUID ( ) const -> std::optional<std::array<unsigned char, VIR_UUID_BUFLEN>>
inline
auto virt::StoragePool::getUUIDString ( ) const -> std::optional<std::array<char, VIR_UUID_STRING_BUFLEN>>
inlinenoexcept
passive< gsl::czstring<> > virt::StoragePool::getXMLDesc ( ) const
inlinenoexcept
TFE virt::StoragePool::isActive ( ) const
inlinenoexcept
TFE virt::StoragePool::isPersistent ( ) const
inlinenoexcept
auto virt::StoragePool::listAllVolumes ( ) const
inlinenoexcept
auto virt::StoragePool::listVolumesNames ( ) const
inlinenoexcept
int virt::StoragePool::numOfVolumes ( ) const
inlinenoexcept
constexpr virt::StoragePool::operator bool ( ) const
inlineexplicitnoexcept
constexpr StoragePool& virt::StoragePool::operator= ( const StoragePool )
deletenoexcept
StoragePool & virt::StoragePool::operator= ( StoragePool &&  oth)
inlinenoexcept
bool virt::StoragePool::refresh ( )
inlinenoexcept
bool virt::StoragePool::setAutostart ( bool  autostart)
inlinenoexcept
bool virt::StoragePool::undefine ( )
inlinenoexcept
StorageVol virt::StoragePool::volLookupByName ( gsl::czstring<>  name) const
inlinenoexcept

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