|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
20 #ifndef otb_VariadicNamedInputsImageFilter_h
21 #define otb_VariadicNamedInputsImageFilter_h
42 template <
typename Arg,
typename Tuple>
44 template <
typename Arg,
typename... Args>
47 static constexpr std::size_t value = 0;
50 template <
typename Arg,
typename NotMatching,
typename... Args>
53 static_assert(
sizeof...(Args) > 0,
"Could not find requested type in tuple");
54 static constexpr std::size_t value = 1 +
tuple_index<Arg, std::tuple<Args...>>::value;
95 template <
class TOuptut,
class TInputNameMap,
class... TInputs>
112 static_assert(std::tuple_size<TInputNameMap>::value ==
NumberOfInputs,
"Tuple for input name does not match the size of ... TInputs");
127 template <
typename Tag>
140 template <
typename Tag>
143 this->
template SetInput<Tag>(inputPtr);
151 template <
typename Tag>
164 template <
typename Tag>
167 return this->
template GetInput<Tag>();
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
retrieve index of a type in tuple if exists