QuartzLog Class Reference

Class managing a logfile for quartz. More...

#include <quartz_log.h>

List of all members.

Public Member Functions

 QuartzLog (std::string filename)
 Open the log.
 ~QuartzLog ()
 Close the log.
void make_entry (const std::string &entry) const
 Make an entry in the log.

Private Member Functions

 QuartzLog (const QuartzLog &)
 Copying not allowed.
void operator= (const QuartzLog &)
 Assignment not allowed.

Private Attributes

int fd
 File descriptor of log file (or -1 if not logging).


Detailed Description

Class managing a logfile for quartz.

Definition at line 34 of file quartz_log.h.


Constructor & Destructor Documentation

QuartzLog::QuartzLog ( const QuartzLog  )  [private]

Copying not allowed.

QuartzLog::QuartzLog ( std::string  filename  ) 

Open the log.

Parameters:
filename The full filename of the logfile. If this file doesn't exists, log messages are discarded.

QuartzLog::~QuartzLog (  ) 

Close the log.

Definition at line 47 of file quartz_log.cc.

References DEBUGCALL, and fd.


Member Function Documentation

void QuartzLog::operator= ( const QuartzLog  )  [private]

Assignment not allowed.

void QuartzLog::make_entry ( const std::string &  entry  )  const

Make an entry in the log.

Referenced by QuartzDatabase::apply(), QuartzDatabase::create_and_open_tables(), QuartzDatabase::open_tables(), QuartzDatabase::open_tables_consistent(), QuartzDatabase::QuartzDatabase(), and QuartzDatabase::~QuartzDatabase().


Member Data Documentation

int QuartzLog::fd [private]

File descriptor of log file (or -1 if not logging).

Definition at line 43 of file quartz_log.h.

Referenced by ~QuartzLog().


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.