Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

log.h

00001 #ifndef SCTCONF_LOG_H
00002 #define SCTCONF_LOG_H
00003 
00004 #include <fstream>
00005 #include <string>
00006 
00011 class Log : public std::ofstream {
00012  public:
00014   Log();
00016   Log(std::string fname);
00018   Log(std::string fname, int instance);
00020   ~Log();
00021 
00022  private:
00023   static std::string getDefaultFileName();
00024   void printHeader();
00025   void printTrailer();
00026 };
00027 
00028 #endif

Generated on Thu Jul 15 09:50:48 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5