Version API
Source: raptor/version.hpp
Version and build information
Version
struct Version
Version and build information
Contains semantic version numbers and build metadata from source control.
See: raptor::Context::version() for the supported way to retrieve the current Raptor SDK version and build information.
Variables
| Name | Description |
|---|---|
| major | Major version number. |
| minor | Minor version number. |
| patch | Patch version number. |
| revision | Source control commit hash (short). |
| ref | Source control tag if built from tag, otherwise branch name. |
Variable Details
major
std::uint32_t major
Major version number
minor
std::uint32_t minor
Minor version number
patch
std::uint32_t patch
Patch version number
revision
std::string_view revision
Source control commit hash (short)
ref
std::string_view ref
Source control tag if built from tag, otherwise branch name