evan 2026.1.4
Evan
Loading...
Searching...
No Matches
Version.hpp
1/*
2 ** ETIB PROJECT, 2025
3 ** evan
4 ** File description:
5 ** Version
6 */
7
8#pragma once
9
10#include "evan/EvanPlatform.hpp"
11
12#include <utility/logging/loggable.hpp>
13#include <utility/logging/default_logger.hpp>
14
15namespace evan
16{
32 class Version:
33 protected utility::logging::Loggable<Version,
34 utility::logging::DefaultLogger>
35 {
36 public:
45 Version(unsigned int major, unsigned int minor, unsigned int patch);
46
54
65
66 unsigned int _major; // Major version number
67 unsigned int _minor; // Minor version number
68 unsigned int _patch; // Patch version number
69 };
70} // namespace evan
Represents a software version using major, minor, and patch numbers.
Definition Version.hpp:35
unsigned int _patch
Definition Version.hpp:68
unsigned int _minor
Definition Version.hpp:67
~Version()
Destructor for the Version class.
uint32_t to_uint32_t()
Converts the version information to a 32-bit unsigned integer.
unsigned int _major
Definition Version.hpp:66
Version(unsigned int major, unsigned int minor, unsigned int patch)
Constructs a Version object with the specified major, minor, and patch numbers.
Small result wrapper used by helpers that must return both a status and a value (e....
Definition Error.hpp:89