virthttp  0.0
libvirt http interface
Typedefs | Functions
virt2json.hpp File Reference
#include <libvirt/libvirt.h>
#include <rapidjson/pointer.h>
#include "virt_wrap/impl/TypedParams.hpp"

Go to the source code of this file.

Typedefs

using VirtWrappedDomainTime = decltype(*std::declval< virt::Domain >().getTime())
 

Functions

template<class JAllocator >
auto to_json (const virt::TypedParams &tp, JAllocator &&jalloc) noexcept-> rapidjson::Value
 
template<class JAllocator >
auto to_json (const char *cstr, JAllocator &&jalloc) -> rapidjson::Value
 
template<class JAllocator >
auto to_json (UniqueZstring zstr, JAllocator &&jalloc) -> rapidjson::Value
 
template<class JAllocator >
auto to_json (VirtWrappedDomainTime time, JAllocator &&jalloc) -> rapidjson::Value
 
template<class JAllocator >
auto to_json (virNetworkDHCPLease lease, JAllocator &&jalloc) -> rapidjson::Value
 
auto to_json (TFE tfe) -> rapidjson::Value
 
template<class T , class JAllocator >
auto to_json (std::vector< T > vec, JAllocator &&jalloc) -> rapidjson::Value
 
template<class T , class JAllocator >
auto get_to_json (std::optional< T > opt, JAllocator &&jalloc) -> rapidjson::Value
 

Typedef Documentation

using VirtWrappedDomainTime = decltype(*std::declval<virt::Domain>().getTime())

Function Documentation

template<class T , class JAllocator >
auto get_to_json ( std::optional< T >  opt,
JAllocator &&  jalloc 
) -> rapidjson::Value
template<class JAllocator >
auto to_json ( const virt::TypedParams tp,
JAllocator &&  jalloc 
) -> rapidjson::Value
noexcept
template<class JAllocator >
auto to_json ( const char *  cstr,
JAllocator &&  jalloc 
) -> rapidjson::Value
template<class JAllocator >
auto to_json ( UniqueZstring  zstr,
JAllocator &&  jalloc 
) -> rapidjson::Value
template<class JAllocator >
auto to_json ( VirtWrappedDomainTime  time,
JAllocator &&  jalloc 
) -> rapidjson::Value
template<class JAllocator >
auto to_json ( virNetworkDHCPLease  lease,
JAllocator &&  jalloc 
) -> rapidjson::Value
auto to_json ( TFE  tfe) -> rapidjson::Value
template<class T , class JAllocator >
auto to_json ( std::vector< T >  vec,
JAllocator &&  jalloc 
) -> rapidjson::Value