![]() |
SH4ZAM! 0.7.0
Fast math library for the Sega Dreamcast's SH4 CPU
|
#include <shz_version.hpp>
Public Member Functions | |
| constexpr | version (shz_version_t value) noexcept |
| constexpr | version (uint8_t major, uint16_t minor, uint8_t patch) noexcept |
| constexpr | operator shz_version_t () const noexcept |
| constexpr version | operator= (uint32_t rhs) noexcept |
| constexpr uint8_t | major () const noexcept |
| constexpr uint16_t | minor () const noexcept |
| constexpr uint8_t | patch () const noexcept |
Static Public Member Functions | |
| static constexpr version | compiled () noexcept |
| static version | linked () noexcept |
Class representing a full SH4ZAM API version.
Definition at line 21 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Constructs a version from the given full value.
Definition at line 26 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Constructs a full version from the given component values.
Definition at line 30 of file shz_version.hpp.
|
inlinestaticconstexprnoexcept |
Compile-time version of SH4ZAM headers which are being included.
Definition at line 34 of file shz_version.hpp.
|
inlinestaticnoexcept |
Link-time version of SH4ZAM library which was linked against.
Definition at line 37 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Implicit conversion operator to make this class automatically comparable to a uint32_t.
Definition at line 40 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Assignment operator for assigning a version to a full version ID value.
Definition at line 43 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Extracts the major component value from a full version.
Definition at line 46 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Extracts the minor component value from a full version.
Definition at line 49 of file shz_version.hpp.
|
inlineconstexprnoexcept |
Extracts the patch component value from a full version.
Definition at line 52 of file shz_version.hpp.