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

log.h

00001 #ifndef SCTAPI_LOG_H
00002 #define SCTAPI_LOG_H
00003 
00004 #include <fstream>
00005 #include <string>
00006 
00007 namespace SctApi {
00012 class Log : public std::ofstream {
00013  public:
00015   Log();
00017   Log(std::string fname);
00019   Log(std::string fname, int instance);
00020 
00022   ~Log();
00023 
00024  private:
00025   static std::string getDefaultFileName();
00026   void printHeader();
00027   void printTrailer();
00028 };
00029 
00030 }
00031 #endif

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