Thermal Camera SDK 11.3.0
SDK for Optris Thermal Cameras
Loading...
Searching...
No Matches
VersionInfo.h
Go to the documentation of this file.
1// Copyright (c) 2008-2026 Optris GmbH & Co. KG
2
10
11#pragma once
12
13#include <string>
14
15#include "otcsdk/Api.h"
17
18
19namespace optris
20{
21
28{
29public:
31 VersionInfo() = default;
32
33
40
46 OTC_SDK_API std::string getBuildType() noexcept;
47
53 OTC_SDK_API std::string getBuildDate() noexcept;
54
60 OTC_SDK_API std::string getCommitHash() noexcept;
61
67 OTC_SDK_API std::string getCommitDate() noexcept;
68
74 OTC_SDK_API std::string getCommitBranch() noexcept;
75
81 OTC_SDK_API std::string getName() noexcept;
82
88 OTC_SDK_API std::string getCompany() noexcept;
89
95 OTC_SDK_API std::string getCopyright() noexcept;
96
102 OTC_SDK_API std::string getDescription() noexcept;
103
111 OTC_SDK_API std::string getBuildOS() noexcept;
112
120 OTC_SDK_API std::string getBuildPlatform() noexcept;
121
129};
130
131} // namespace optris
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
Contains a class encapsulating version information.
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 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 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 Version getSdkVersion() noexcept
Returns the SDK version.
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 Version getFormatsVersion() noexcept
Returns the version of the format definitions.
VersionInfo()=default
Constructor.
Represent a version with major, minor and patch version numbers.
Definition Version.h:24
Main SDK namespace.
Definition AlarmChannel.h:21