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.

Definition at line 11 of file log.cxx.

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

Create file.

Definition at line 18 of file log.cxx.

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

Create file.

Definition at line 24 of file log.cxx.

SctApi::Log::~Log  ) 
 

Make sure file is saved on exit.

Definition at line 35 of file log.cxx.


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 02:41:19 2005 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5