47 if(pixelType == Isis::None)
return 0;
48 if(pixelType == Isis::UnsignedByte)
return sizeof(
unsigned char);
49 if(pixelType == Isis::SignedByte)
return sizeof(char);
50 if(pixelType == Isis::UnsignedWord)
return sizeof(
unsigned short);
51 if(pixelType == Isis::SignedWord)
return sizeof(short);
52 if(pixelType == Isis::UnsignedInteger)
return sizeof(
unsigned int);
53 if(pixelType == Isis::SignedInteger)
return sizeof(int);
54 if(pixelType == Isis::Real)
return sizeof(float);
55 if(pixelType == Isis::Double)
return sizeof(double);
67 if(pixelType == Isis::None)
return "None";
68 if(pixelType == Isis::UnsignedByte)
return "UnsignedByte";
69 if(pixelType == Isis::SignedByte)
return "SignedByte";
70 if(pixelType == Isis::UnsignedWord)
return "UnsignedWord";
71 if(pixelType == Isis::SignedWord)
return "SignedWord";
72 if(pixelType == Isis::UnsignedInteger)
return "UnsignedInteger";
73 if(pixelType == Isis::SignedInteger)
return "SignedInteger";
74 if(pixelType == Isis::Real)
return "Real";
75 if(pixelType == Isis::Double)
return "Double";