![]() |
Thermal Camera SDK 10.0.1
SDK for Optris Thermal Cameras
|
Encapsulates version and build information about the SDK. More...
#include <VersionInfo.h>
Public Member Functions | |
VersionInfo ()=default | |
Constructor. | |
OTC_SDK_API std::string | getVersionString () noexcept |
Returns the SDK version as a string in the format: "major.minor.patch". | |
OTC_SDK_API int | getMajorVersion () noexcept |
Returns the major version of the SDK. | |
OTC_SDK_API int | getMinorVersion () noexcept |
Returns the minor version of the SDK. | |
OTC_SDK_API int | getPatchVersion () noexcept |
Returns the patch version of the SDK. | |
OTC_SDK_API int | compareVersion (int major, int minor, int patch) noexcept |
Compares the provided version with the one of the SDK. | |
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. | |
Encapsulates version and build information about the SDK.
The version is represented in the format: major.minor.patch.
|
noexcept |
Compares the provided version with the one of the SDK.
|
noexcept |
Returns the UTC build date of the SDK in ISO format.
|
noexcept |
Returns the name of the operating system for which the SDK was build for.
Examples: Windows, Linux.
|
noexcept |
Returns the name of the platform for which the SDK was build for.
Examples: AMD64, ARM64.
|
noexcept |
Returns the build type of the SDK.
|
noexcept |
Returns the branch name used to build the SDK.
|
noexcept |
Returns the date of the commit that was used to build the SDK in ISO format.
|
noexcept |
Returns the first part of the hash of the commit that was used to build the SDK.
|
noexcept |
Returns the name of the company that created the SDK.
|
noexcept |
Returns the copyright string of the SDK.
|
noexcept |
Returns a description of the SDK.
|
noexcept |
Returns the major version of the SDK.
|
noexcept |
Returns the minor version of the SDK.
|
noexcept |
Returns the name of the SDK.
|
noexcept |
Returns the patch version of the SDK.
|
noexcept |
Returns the SDK version as a string in the format: "major.minor.patch".