IDS peak ICV v1.1.0
Loading...
Searching...
No Matches
peak_icv_version.hpp
Go to the documentation of this file.
1
11#pragma once
12
14#include <peak_common_c/detail/peak_common_defines.h>
16
17#include <cstdint>
18#include <string>
19
20namespace peak
21{
22namespace icv
23{
24namespace library
25{
26
40{
41 uint32_t major{};
42 uint32_t minor{};
43 uint32_t subminor{};
44 uint32_t patch{};
45
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 */
Represents a structured version identifier with four components: major, minor, subminor,...
peak::common::Version Version()
Returns the version of the library.
void ExecuteAndMapReturnCodes(const CallableType &callableObject)