Ignore:
Timestamp:
06/09/11 17:13:03 (13 years ago)
Author:
lyard
Message:
added WriteError state
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Fits.h

    r10934 r10955  
    5050                double fRefMjD;
    5151                ///Write the FITS header keys
    52                 void WriteHeaderKeys();
     52                bool WriteHeaderKeys();
    5353public:
    5454                ///Name of the openned file. For querying stats
     
    9494
    9595                ///Opens a FITS file
    96         void Open(const string& fileName, const string& tableName, CCfits::FITS* file, int* fitsCounter, MessageImp* out, int runNumber);//ostream& out);
     96        bool Open(const string& fileName, const string& tableName, CCfits::FITS* file, int* fitsCounter, MessageImp* out, int runNumber);//ostream& out);
    9797
    9898                ///Write one line of data. Use the given converter.
    99                 void Write(Converter* conv);
     99                bool Write(Converter* conv);
    100100               
    101101                ///Close the currently opened file.
     
    106106private:
    107107                template <typename T>
    108                 void WriteSingleHeaderKey(string name, T value, string comment);
     108                bool WriteSingleHeaderKey(string name, T value, string comment);
    109109
    110110};//Fits
Note: See TracChangeset for help on using the changeset viewer.