Changeset 10780 for trunk/FACT++/src/Fits.cc
- Timestamp:
- 05/23/11 15:04:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.cc
r10758 r10780 65 65 for (unsigned int i=0;i<dataFormat.size();i++) 66 66 { 67 stringstream stt;67 ostringstream stt; 68 68 stt << "Data" << i; 69 69 fDataColDesc.push_back(Description(stt.str(), "comment", "unit")); … … 98 98 catch (CCfits::FitsException e) 99 99 { 100 stringstream str;100 ostringstream str; 101 101 str << "Could not open FITS file " << fileName << " reason: " << e.message(); 102 102 fMess->Error(str); … … 133 133 else 134 134 { 135 stringstream stt;135 ostringstream stt; 136 136 stt << "Data" << i; 137 137 allNames.push_back(stt.str()); … … 179 179 catch(CCfits::FitsException e) 180 180 { 181 stringstream str;181 ostringstream str; 182 182 str << "Could not open or create FITS table " << tableName << " in file " << fileName << " reason: " << e.message(); 183 183 fMess->Error(str); … … 205 205 catch (CCfits::FitsException e) 206 206 { 207 stringstream str;207 ostringstream str; 208 208 str << "Could not add header keys in file " << fFileName << " reason: " << e.message(); 209 209 fMess->Error(str); … … 248 248 if (fits_insert_rows(fTable->fitsPointer(), fNumRows, 1, &status)) 249 249 { 250 stringstream str;250 ostringstream str; 251 251 str << "Could not insert row in file " << fFileName << ". cfitsio error code: " << status; 252 252 fMess->Error(str); … … 281 281 char text[30];//max length of cfitsio error strings (from doc) 282 282 fits_get_errstatus(status, text); 283 stringstream str;283 ostringstream str; 284 284 str << "Error while writing FITS row in " << fFileName << ". Message: " << text << " [" << status << "]"; 285 285 fMess->Error(str);
Note:
See TracChangeset
for help on using the changeset viewer.