Contains defines controlling the Windows DLL export and import of symbols.
#define OTC_SDK_API
Only needed when working with Windows DLLs.
Definition Api.h:65
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 getDescription() noexcept
Returns a description 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 getBuildType() noexcept
Returns the build type of the SDK.
OTC_SDK_API int getPatchVersion() noexcept
Returns the patch version of the SDK.
OTC_SDK_API std::string getCopyright() noexcept
Returns the copyright string of the SDK.
OTC_SDK_API std::string getCommitBranch() noexcept
Returns the branch name used to build the SDK.
OTC_SDK_API int getMinorVersion() noexcept
Returns the minor 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 int getMajorVersion() noexcept
Returns the major version 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 getBuildPlatform() noexcept
Returns the name of the platform for which the SDK was build for.
OTC_SDK_API std::string getName() noexcept
Returns the name of the SDK.
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 getVersionString() noexcept
Returns the SDK version as a string in the format: "major.minor.patch".
VersionInfo()=default
Constructor.
Main SDK namespace.
Definition DeviceInfo.h:23