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

#include <StorageVol.hpp>

Classes

class  CreateFlag
 
class  DeleteFlag
 
class  DownloadFlag
 
struct  Info
 
class  InfoFlag
 
class  ResizeFlag
 
class  Type
 
class  UploadFlag
 
class  WipeAlgorithm
 

Public Member Functions

constexpr StorageVol () noexcept=default
 
constexpr StorageVol (const StorageVol &) noexcept=delete
 
 StorageVol (StorageVol &&) noexcept
 
constexpr StorageVoloperator= (const StorageVol &) noexcept=delete
 
StorageVoloperator= (StorageVol &&) noexcept
 
 ~StorageVol () noexcept
 
constexpr StorageVol (virStorageVolPtr ptr) noexcept
 
constexpr operator bool () const noexcept
 
bool delete_ (DeleteFlag flags) noexcept
 
bool download (Stream &strm, unsigned long long offset, unsigned long long length, DownloadFlag flags) noexcept
 
Connection getConnect () const noexcept
 
auto getInfo () const noexcept-> std::optional< Info >
 
auto getInfo (InfoFlag flags) const noexcept-> std::optional< Info >
 
passive< gsl::czstring<> > getKey () const noexcept
 
passive< gsl::czstring<> > getName () const noexcept
 
UniqueZstring getPath () const noexcept
 
StoragePool getPool () const noexcept
 
UniqueZstring getXMLDesc () const noexcept
 
bool resize (unsigned long long capacity, ResizeFlag flags) noexcept
 
bool upload (Stream &stream, unsigned long long offset, unsigned long long length, UploadFlag flags) noexcept
 
bool wipe () noexcept
 
bool wipePattern (WipeAlgorithm algorithm) noexcept
 

Static Public Member Functions

static StorageVol createXML (StoragePool &pool, gsl::czstring<> xmlDesc, CreateFlag flags) noexcept
 
static StorageVol createXMLFrom (StoragePool &pool, gsl::czstring<> xmlDesc, const StorageVol &clonevol, CreateFlag flags) noexcept
 

Constructor & Destructor Documentation

constexpr virt::StorageVol::StorageVol ( )
defaultnoexcept
constexpr virt::StorageVol::StorageVol ( const StorageVol )
deletenoexcept
virt::StorageVol::StorageVol ( StorageVol &&  oth)
inlinenoexcept
virt::StorageVol::~StorageVol ( )
inlinenoexcept
constexpr virt::StorageVol::StorageVol ( virStorageVolPtr  ptr)
inlineexplicitnoexcept

Member Function Documentation

StorageVol virt::StorageVol::createXML ( StoragePool pool,
gsl::czstring<>  xmlDesc,
CreateFlag  flags 
)
inlinestaticnoexcept
StorageVol virt::StorageVol::createXMLFrom ( StoragePool pool,
gsl::czstring<>  xmlDesc,
const StorageVol clonevol,
CreateFlag  flags 
)
inlinestaticnoexcept
bool virt::StorageVol::delete_ ( DeleteFlag  flags)
inlinenoexcept
bool virt::StorageVol::download ( Stream strm,
unsigned long long  offset,
unsigned long long  length,
DownloadFlag  flags 
)
inlinenoexcept
Connection virt::StorageVol::getConnect ( ) const
inlinenoexcept
auto virt::StorageVol::getInfo ( ) const -> std::optional<Info>
inlinenoexcept
auto virt::StorageVol::getInfo ( InfoFlag  flags) const -> std::optional<Info>
inlinenoexcept
passive< gsl::czstring<> > virt::StorageVol::getKey ( ) const
inlinenoexcept
passive< gsl::czstring<> > virt::StorageVol::getName ( ) const
inlinenoexcept
UniqueZstring virt::StorageVol::getPath ( ) const
inlinenoexcept
StoragePool virt::StorageVol::getPool ( ) const
inlinenoexcept
UniqueZstring virt::StorageVol::getXMLDesc ( ) const
inlinenoexcept
constexpr virt::StorageVol::operator bool ( ) const
inlineexplicitnoexcept
constexpr StorageVol& virt::StorageVol::operator= ( const StorageVol )
deletenoexcept
StorageVol & virt::StorageVol::operator= ( StorageVol &&  oth)
inlinenoexcept
bool virt::StorageVol::resize ( unsigned long long  capacity,
ResizeFlag  flags 
)
inlinenoexcept
bool virt::StorageVol::upload ( Stream stream,
unsigned long long  offset,
unsigned long long  length,
UploadFlag  flags 
)
inlinenoexcept
bool virt::StorageVol::wipe ( )
inlinenoexcept
bool virt::StorageVol::wipePattern ( WipeAlgorithm  algorithm)
inlinenoexcept

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