Encapsulates version and build information about the SDK.
More...
#include <VersionInfo.h>
|
|
| VersionInfo ()=default |
| | Constructor.
|
| |
| OTC_SDK_API Version | getSdkVersion () noexcept |
| | Returns the SDK version.
|
| |
| OTC_SDK_API std::string | getBuildType () noexcept |
| | Returns the build type of the SDK.
|
| |
| OTC_SDK_API std::string | getBuildDate () noexcept |
| | Returns the UTC build date of the SDK in ISO format.
|
| |
| OTC_SDK_API std::string | getCommitHash () noexcept |
| | Returns the first part of the hash of the commit that was used to build the SDK.
|
| |
| OTC_SDK_API std::string | getCommitDate () noexcept |
| | Returns the date of the commit that was used to build the SDK in ISO format.
|
| |
| OTC_SDK_API std::string | getCommitBranch () noexcept |
| | Returns the branch name used to build the SDK.
|
| |
| OTC_SDK_API std::string | getName () noexcept |
| | Returns the name of the SDK.
|
| |
| OTC_SDK_API std::string | getCompany () noexcept |
| | Returns the name of the company that created the SDK.
|
| |
| OTC_SDK_API std::string | getCopyright () noexcept |
| | Returns the copyright string of the SDK.
|
| |
| OTC_SDK_API std::string | getDescription () noexcept |
| | Returns a description of the SDK.
|
| |
| OTC_SDK_API std::string | getBuildOS () noexcept |
| | Returns the name of the operating system for which the SDK was build for.
|
| |
| OTC_SDK_API std::string | getBuildPlatform () noexcept |
| | Returns the name of the platform for which the SDK was build for.
|
| |
| OTC_SDK_API Version | getFormatsVersion () noexcept |
| | Returns the version of the format definitions.
|
| |
Encapsulates version and build information about the SDK.
The version is represented in the format: major.minor.patch.
◆ getBuildDate()
| OTC_SDK_API std::string optris::VersionInfo::getBuildDate |
( |
| ) |
|
|
noexcept |
Returns the UTC build date of the SDK in ISO format.
- Returns
- the UTC build date in ISO format.
◆ getBuildOS()
| OTC_SDK_API std::string optris::VersionInfo::getBuildOS |
( |
| ) |
|
|
noexcept |
Returns the name of the operating system for which the SDK was build for.
Examples: Windows, Linux.
- Returns
- name of the operating system for which the SDK was build for.
◆ getBuildPlatform()
| OTC_SDK_API std::string optris::VersionInfo::getBuildPlatform |
( |
| ) |
|
|
noexcept |
Returns the name of the platform for which the SDK was build for.
Examples: amd64, arm64.
- Returns
- name of the platform for which the SDK was build for.
◆ getBuildType()
| OTC_SDK_API std::string optris::VersionInfo::getBuildType |
( |
| ) |
|
|
noexcept |
Returns the build type of the SDK.
- Returns
- "Release" for release builds and "Debug" for debug builds.
◆ getCommitBranch()
| OTC_SDK_API std::string optris::VersionInfo::getCommitBranch |
( |
| ) |
|
|
noexcept |
Returns the branch name used to build the SDK.
- Returns
- branch name used to build the SDK.
◆ getCommitDate()
| OTC_SDK_API std::string optris::VersionInfo::getCommitDate |
( |
| ) |
|
|
noexcept |
Returns the date of the commit that was used to build the SDK in ISO format.
- Returns
- date of the commit that was used to build the SDK in ISO format
◆ getCommitHash()
| OTC_SDK_API std::string optris::VersionInfo::getCommitHash |
( |
| ) |
|
|
noexcept |
Returns the first part of the hash of the commit that was used to build the SDK.
- Returns
- first part of the hash of the commit that was used to build the SDK.
◆ getCompany()
| OTC_SDK_API std::string optris::VersionInfo::getCompany |
( |
| ) |
|
|
noexcept |
Returns the name of the company that created the SDK.
- Returns
- name of the company that created the SDK.
◆ getCopyright()
| OTC_SDK_API std::string optris::VersionInfo::getCopyright |
( |
| ) |
|
|
noexcept |
Returns the copyright string of the SDK.
- Returns
- copyright string of the SDK.
◆ getDescription()
| OTC_SDK_API std::string optris::VersionInfo::getDescription |
( |
| ) |
|
|
noexcept |
Returns a description of the SDK.
- Returns
- description of the SDK.
◆ getFormatsVersion()
| OTC_SDK_API Version optris::VersionInfo::getFormatsVersion |
( |
| ) |
|
|
noexcept |
Returns the version of the format definitions.
- Returns
- version of the format definitions or an invalid version if the corresponding Formats.def file was not found or could not be read.
◆ getName()
| OTC_SDK_API std::string optris::VersionInfo::getName |
( |
| ) |
|
|
noexcept |
Returns the name of the SDK.
- Returns
- name of the SDK.
◆ getSdkVersion()
| OTC_SDK_API Version optris::VersionInfo::getSdkVersion |
( |
| ) |
|
|
noexcept |
Returns the SDK version.
- Returns
- SDK version.
The documentation for this class was generated from the following file: