vgl 1.0.0
Virtual Globe Library: API reference
Loading...
Searching...
No Matches
base.hpp File Reference
#include <vgl/base.h>
#include <cstdint>
#include <type_traits>
#include <utility>
#include <version>

Go to the source code of this file.

Classes

class  vgl::unexpected
 
class  vgl::expected< T >
 
struct  vgl::version
 

Namespaces

namespace  vgl
 

Enumerations

enum class  vgl::result : std::int32_t {
  vgl::success = VGL_RESULT_SUCCESS , vgl::incomplete = VGL_RESULT_INCOMPLETE , vgl::not_ready = VGL_RESULT_NOT_READY , vgl::invalid_argument = VGL_RESULT_INVALID_ARGUMENT ,
  vgl::out_of_memory = VGL_RESULT_OUT_OF_MEMORY , vgl::not_supported = VGL_RESULT_NOT_SUPPORTED , vgl::invalid_operation = VGL_RESULT_INVALID_OPERATION , vgl::not_found = VGL_RESULT_NOT_FOUND ,
  vgl::io_error = VGL_RESULT_IO_ERROR , vgl::corrupt_data = VGL_RESULT_CORRUPT_DATA , vgl::version_mismatch = VGL_RESULT_VERSION_MISMATCH , vgl::cancelled = VGL_RESULT_CANCELLED ,
  vgl::backend_error = VGL_RESULT_BACKEND_ERROR , vgl::internal_error = VGL_RESULT_INTERNAL_ERROR
}
 

Functions

constexpr bool vgl::succeeded (result r) noexcept
 
constexpr bool vgl::failed (result r) noexcept
 
const char * vgl::result_name_get (result r) noexcept
 
template<typename T >
constexpr T vgl::init () noexcept
 
version vgl::version_get () noexcept