Lugdunum
0.1.0
include
lug
Core
Version.hpp
Go to the documentation of this file.
1
#pragma once
2
3
namespace
lug
{
4
namespace
Core {
5
9
struct
Version
{
10
uint32_t
major
: 10;
11
uint32_t
minor
: 10;
12
uint32_t
patch
: 12;
13
14
operator
uint32_t()
const
{
15
return
(
major
<< 22) | (
minor
<< 12) |
patch
;
16
}
17
18
static
Version
fromInt
(uint32_t version);
19
};
20
21
#include <
lug/Core/Version.inl
>
22
23
}
// Core
24
}
// lug
lug::Core::Version
Stores the version of the Application.
Definition:
Version.hpp:9
lug::Core::Version::minor
uint32_t minor
Definition:
Version.hpp:11
lug::Core::Version::major
uint32_t major
Definition:
Version.hpp:10
Version.inl
lug::Core::Version::fromInt
static Version fromInt(uint32_t version)
Definition:
Version.inl:1
lug
Definition:
Application.hpp:11
lug::Core::Version::patch
uint32_t patch
Definition:
Version.hpp:12
Generated by
1.8.13