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

SctApi::Log Class Reference

A logging class, just an ofstream that opens a fixed file. More...

#include <log.h>


Public Member Functions

 Log ()
 Create file.

 Log (std::string fname)
 Create file.

 Log (std::string fname, int instance)
 Create file.

 ~Log ()
 Make sure file is saved on exit.


Private Member Functions

void printHeader ()
void printTrailer ()

Static Private Member Functions

std::string getDefaultFileName ()


Detailed Description

A logging class, just an ofstream that opens a fixed file.

Definition at line 12 of file SctApi/log.h.


Constructor & Destructor Documentation

SctApi::Log::Log  ) 
 

Create file.

SctApi::Log::Log std::string  fname  ) 
 

Create file.

SctApi::Log::Log std::string  fname,
int  instance
 

Create file.

SctApi::Log::~Log  ) 
 

Make sure file is saved on exit.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:51:59 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5