1047 for (FormatList::const_iterator it=
fList.begin(); it!=
fList.end(); it++)
1049 ostringstream dataQualifier;
1050 dataQualifier << it->second.first;
1052 switch (it->first.first->name()[0])
1054 case 'c': dataQualifier <<
'B';
break;
1055 case 's': dataQualifier <<
'I';
break;
1056 case 'i': dataQualifier <<
'J';
break;
1057 case 'l': dataQualifier <<
'J';
break;
1058 case 'f': dataQualifier <<
'E';
break;
1059 case 'd': dataQualifier <<
'D';
break;
1060 case 'x': dataQualifier <<
'K';
break;
1067 throw runtime_error(
string(
"GetFitsFormat - unknown FITS format [")+it->first.first->name()[0]+
"]");
1070 vec.push_back(dataQualifier.str());
const FormatList fList
Original format string.