Changeset 2897 in Sophya for trunk/SophyaExt/FitsIOServer/fitsfile.cc
- Timestamp:
- Jan 13, 2006, 11:05:52 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsfile.cc
r2860 r2897 244 244 } 245 245 246 void FitsIOHandler::Read(FitsInOutFile& is) 247 { 248 FitsInFile fis(is); 249 fis.ReadHeader(0); 250 ReadFromFits(fis); 251 } 252 246 253 /*! \fn void SOPHYA::FitsIOHandler::Read(FitsInFile& is, int hdunum) 247 254 Read the data on extension hdunum (or primary header, if hdunum=1) from FitsInFIle. If hdunum is not addressed, , one reads the next extension, with respect to the current position. … … 271 278 { 272 279 FitsOutFile of(flnm, FitsFile::unknown); 273 Write(of); 274 } 275 276 void FitsIOHandler::Write(FitsOutFile& os) 277 { 278 WriteToFits(os); 280 WriteToFits(of); 281 } 282 283 void FitsIOHandler::Write(FitsInOutFile& os) 284 { 285 FitsOutFile fos(os); 286 WriteToFits(fos); 279 287 } 280 288
Note:
See TracChangeset
for help on using the changeset viewer.