shz::version
Class representing a full SH4ZAM API version.
- Header:
#include <sh4zam/shz_version.hpp>(source)
Static functions
Section titled “Static functions”compiled
Section titled “compiled”static constexpr version compiled() noexceptCompile-time version of SH4ZAM headers which are being included.
linked
Section titled “linked”static version linked() noexceptLink-time version of SH4ZAM library which was linked against.
Calls: shz_version_linked()
Members
Section titled “Members”value_
Section titled “value_”shz_version_t value_Private packed value member.
version
Section titled “version”version(shz_version_t value) noexceptversion(uint8_t major, uint16_t minor, uint8_t patch) noexceptConstructs a version from the given full value.
operator shz_version_t
Section titled “operator shz_version_t”operator shz_version_t() const noexceptImplicit conversion operator to make this class automatically comparable to a uint32_t.
operator=
Section titled “operator=”version operator=(uint32_t rhs) noexceptAssignment operator for assigning a version to a full version ID value.
uint8_t major() const noexceptExtracts the major component value from a full version.
uint16_t minor() const noexceptExtracts the minor component value from a full version.
uint8_t patch() const noexceptExtracts the patch component value from a full version.