qtty-cpp
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
qtty.hpp
Go to the documentation of this file.
1
#pragma once
2
33
// Core template definitions
34
#include "
ffi_core.hpp
"
35
36
// Unit-specific headers
37
#include "
units/length.hpp
"
38
#include "
units/time.hpp
"
39
#include "
units/angular.hpp
"
40
#include "
units/mass.hpp
"
41
#include "
units/power.hpp
"
42
#include "
units/velocity.hpp
"
43
44
// User-defined literals
45
#include "
literals.hpp
"
46
47
namespace
qtty
{
48
52
inline
constexpr
struct
{
53
int
major
= 0;
54
int
minor
= 1;
55
int
patch
= 0;
56
}
version
;
57
62
inline
uint32_t
abi_version
() {
63
return
qtty_ffi_version
();
64
}
65
66
}
// namespace qtty
angular.hpp
qtty::Quantity
Definition
ffi_core.hpp:135
ffi_core.hpp
Core quantity template and error translation utilities.
length.hpp
literals.hpp
mass.hpp
qtty
Definition
ffi_core.hpp:16
qtty::patch
int patch
Definition
qtty.hpp:55
qtty::minor
int minor
Definition
qtty.hpp:54
qtty::abi_version
uint32_t abi_version()
Get the ABI version of the underlying qtty-ffi library.
Definition
qtty.hpp:62
qtty::major
int major
Definition
qtty.hpp:53
qtty::version
constexpr struct qtty::@0 version
Library version information.
power.hpp
time.hpp
velocity.hpp
include
qtty
qtty.hpp
Generated by
1.9.8