32 static const char * ToString()
34 itkGenericExceptionMacro(<<
"Pixel type \"" <<
typeid( T ).name() <<
"\" is not supported." );
41struct PixelType< char >
43 static const char * ToString()
52struct PixelType< unsigned char >
54 static const char * ToString()
56 return "unsigned char";
63struct PixelType< short >
65 static const char * ToString()
74struct PixelType< unsigned short >
76 static const char * ToString()
78 return "unsigned short";
85struct PixelType<
int >
87 static const char * ToString()
96struct PixelType< unsigned
int >
98 static const char * ToString()
100 return "unsigned int";
107struct PixelType< long >
109 static const char * ToString()
118struct PixelType< unsigned long >
120 static const char * ToString()
122 return "unsigned long";
129struct PixelType<
float >
131 static const char * ToString()
142 static const char * ToString()