00001 00010 #ifndef __QOUTPUTFILEHANDLER_HH_ 00011 #define __QOUTPUTFILEHANDLER_HH_ 00012 00013 #include<string> 00014 #include "QCuore.hh" 00015 00016 00017 class QOutputFileHandler { 00018 00019 public: 00020 00021 QOutputFileHandler(std::string&); 00022 virtual ~QOutputFileHandler(); 00023 void Warn(char* s); 00024 void SetRun(int run); 00025 void SetTitle(char*); 00026 00027 00028 private: 00029 00030 std::string fFileName; 00031 FILE* fFile; 00032 int fRun; 00033 bool fRunSet; 00034 00035 00036 }; 00037 00038 00039 00040 #endif