IDS peak ICV
v1.0.0
Loading...
Searching...
No Matches
peak_icv_version.hpp
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <
peak_common/types/peak_common_version.hpp
>
14
#include <
peak_icv/exceptions/detail/peak_icv_exception_helpers.hpp
>
15
#include <
peak_icv/utils/peak_icv_defines.hpp
>
16
17
#include <cstdint>
18
#include <string>
19
20
namespace
peak
21
{
22
namespace
icv
23
{
24
namespace
library
25
{
26
39
inline
peak::common::Version
Version
()
40
{
41
uint32_t major{};
42
uint32_t minor{};
43
uint32_t subminor{};
44
uint32_t patch{};
45
46
detail::ExecuteAndMapReturnCodes
([&]() {
47
return
PEAK_ICV_C_ABI_PREFIX peak_icv_GetVersion(&major, &minor, &subminor, &patch);
48
});
49
50
return
{ major, minor, subminor, patch };
51
}
52
53
}
// namespace library
54
}
/* namespace icv */
55
}
/* namespace peak */
peak::common::Version
Represents a structured version identifier with four components: major, minor, subminor,...
Definition
peak_common_version.hpp:36
peak::icv::library::Version
peak::common::Version Version()
Returns the version of the library.
Definition
peak_icv_version.hpp:39
peak::icv::detail::ExecuteAndMapReturnCodes
void ExecuteAndMapReturnCodes(const CallableType &callableObject)
Definition
peak_icv_exception_helpers.hpp:56
peak
Definition
peak_common_math.hpp:20
peak_common_version.hpp
peak_icv_defines.hpp
peak_icv_exception_helpers.hpp
peak_icv
library
peak_icv_version.hpp
Send mail feedback
Generated on Fri Sep 5 2025 - ©
IDS Imaging Development Systems GmbH