IDS peak ICV
v1.1.0
Loading...
Searching...
No Matches
peak_icv_pipeline_utils.hpp
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <
peak_icv/exceptions/peak_icv_exception.hpp
>
14
15
namespace
peak
16
{
17
namespace
pipeline
18
{
19
namespace
detail
20
{
21
22
inline
void
ValidateVersion
(int64_t version,
const
std::string& moduleName)
23
{
24
if
(version < 1)
25
{
26
throw
peak::icv::NotSupportedException
(
"The 'Version' entry "
+ std::to_string(version) +
" in the archive for module "
27
+ moduleName +
" is invalid! Must be at least 1."
);
28
}
29
}
30
}
// namespace detail
31
}
// namespace pipeline
32
}
// namespace peak
peak::icv::NotSupportedException
Thrown when a requested operation is not implemented or supported.
Definition
peak_icv_exception.hpp:142
peak::pipeline::detail::ValidateVersion
void ValidateVersion(int64_t version, const std::string &moduleName)
Definition
peak_icv_pipeline_utils.hpp:22
peak
Definition
peak_common_math.hpp:20
peak_icv_exception.hpp
peak_icv
pipeline
detail
peak_icv_pipeline_utils.hpp
Send mail feedback
Generated on Fri Dec 12 2025 - ©
IDS Imaging Development Systems GmbH