18#ifndef sitkPixelIDValues_h
19#define sitkPixelIDValues_h
32template <
typename TPixelID>
37 Result = typelist2::index_of<InstantiatedPixelIDTypeList, TPixelID>::value
39 static constexpr int value = typelist2::index_of<InstantiatedPixelIDTypeList, TPixelID>::value;
42template <
typename TImageType>
53template <
unsigned int VImageDimension>
60 static constexpr int value = -1;
162template <
typename PixelIDTypeList>
164template <
typename... Ts>
181template <
typename TPixelIDTypeList = InstantiatedPixelIDTypeList>
SITKCommon_EXPORT std::ostream & operator<<(std::ostream &os, const EventEnum k)
bool TypeListHasPixelIDValue(PixelIDValueEnum match)
Check if the runtime PixelID is contained in a template parameter typelist.
const std::string SITKCommon_EXPORT GetPixelIDValueAsString(PixelIDValueType type)
PixelIDValueType SITKCommon_EXPORT GetPixelIDValueFromString(const std::string &enumString)
Function mapping enumeration names in std::string to values.
PixelIDValueEnum
Enumerated values of pixelIDs.
#define SITKCommon_EXPORT
static constexpr int value
static constexpr int value
static constexpr int value
static bool op(PixelIDValueEnum match)