Changeset 10442 for trunk/FACT++/src/Fits.h
- Timestamp:
- 04/21/11 12:27:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.h
r10367 r10442 16 16 ///The CCfits object to the FITS file 17 17 FITS* fFile; 18 ///Flag indicating whether the FITS object should be managed internally or not. 19 bool fOwner; 18 20 ///The CCfits Table 19 21 Table* fTable; … … 49 51 public: 50 52 51 Fits() : fFile(NULL), 52 fTable(NULL), 53 Fits() : fFile(NULL), 54 fOwner(false), 55 fTable(NULL), 53 56 fNumRows(0), 54 57 fDataPointer(NULL), … … 56 59 fCopyBuffer(NULL), 57 60 fTotalNumBytes(0), 58 fEndMjD(0.0) 61 fEndMjD(0.0), 62 fFileName("") 59 63 {} 60 64 … … 74 78 75 79 ///Opens a FITS file 76 void Open(const std::string& fileName, const std::string& tableName );80 void Open(const std::string& fileName, const std::string& tableName, FITS* file); 77 81 78 82 ///Write one line of data. Use the given converter. … … 81 85 ///Close the currently opened file. 82 86 void Close(); 87 88 ///Get the size currently written on the disk 89 int GetWrittenSize(); 90 ///Name of the openned file. For querying stats 91 std::string fFileName; 83 92 84 93 };//Fits 85 94 95 86 96 #endif /*FITS_H_*/ 87 97
Note:
See TracChangeset
for help on using the changeset viewer.