|
evan 2026.1.4
Evan
|
Represents a software version using major, minor, and patch numbers. More...
#include <headers/evan/Version.hpp>


Public Member Functions | |
| Version (unsigned int major, unsigned int minor, unsigned int patch) | |
| Constructs a Version object with the specified major, minor, and patch numbers. | |
| ~Version () | |
| Destructor for the Version class. | |
| uint32_t | to_uint32_t () |
| Converts the version information to a 32-bit unsigned integer. | |
Public Attributes | |
| unsigned int | _major |
| unsigned int | _minor |
| unsigned int | _patch |
Represents a software version using major, minor, and patch numbers.
The Version class encapsulates version information and provides a method to convert the version to a 32-bit unsigned integer representation.
Definition at line 32 of file Version.hpp.
Constructs a Version object with the specified major, minor, and patch numbers.
| major | The major version number. |
| minor | The minor version number. |
| patch | The patch version number. |
| evan::Version::~Version | ( | ) |
| uint32_t evan::Version::to_uint32_t | ( | ) |
Converts the version information to a 32-bit unsigned integer.
This function encodes the major, minor, and patch version numbers into a single 32-bit unsigned integer using the VK_MAKE_VERSION macro, which is commonly used for Vulkan versioning.
| evan::Version::_major |
The major version number.
Definition at line 66 of file Version.hpp.
| evan::Version::_minor |
The minor version number.
Definition at line 67 of file Version.hpp.
| evan::Version::_patch |
The patch version number.
Definition at line 68 of file Version.hpp.