Changeset 2864 in Sophya for trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc
- Timestamp:
- Jan 2, 2006, 2:47:44 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsinoutfile.cc
r2860 r2864 101 101 { 102 102 fptr_ = NULL; 103 mode_ = Fits_RO; 103 104 SetDef_BinTable(); 104 105 SetDef_StrColWidth(); … … 130 131 131 132 /*! \brief Copy constructor 132 The fits file pointer is owned by the original object and should not be closed133 as long as the new object is being used.133 \warning The fits file pointer is owned by the original FitsInOutFile object and 134 should not be closed as long as the new object is being used. 134 135 */ 135 136 FitsInOutFile::FitsInOutFile(FitsInOutFile const& fios) … … 227 228 } 228 229 230 /*! \brief Closes the current fits file and uses \b fios file for subsequent operations. 231 \warning The fits file pointer is owned by the original FitsInOutFile object and 232 should not be closed as long as the current object (this) is being used. 233 */ 234 235 void FitsInOutFile::ShareFitsPtr(FitsInOutFile const& fios) 236 { 237 Close(); 238 fptr_ = fios.fptr_; 239 fname_ = fios.fname_; 240 mode_ = fios.mode_; 241 ownfptr = false; 242 } 229 243 230 244 /*-- Methode --*/
Note:
See TracChangeset
for help on using the changeset viewer.