Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Qmms::Log::Layout Class Reference

Abstract base class for Layouts. More...

#include <log.hh>

Inheritance diagram for Qmms::Log::Layout::

Qmms::Log::HTMLLayout Qmms::Log::PatternLayout Qmms::Log::SimpleLayout List of all members.

Public Methods

virtual QString formatEvent (const LoggingEvent *evnt)=0
 This purely virtual function makes the class abstract. More...

virtual ~Layout ()
 Destructor does nothing. More...


Detailed Description

Abstract base class for Layouts.

Never instantiated and meant to be subclassed. It exists so that other parts of the qmmslog package can point to an instance of a subclassed layout simply as type Layout. Notice that it doesn't even have a constructor, just as abstract classes should.


Constructor & Destructor Documentation

virtual Qmms::Log::Layout::~Layout   [inline, virtual]
 

Destructor does nothing.


Member Function Documentation

virtual QString Qmms::Log::Layout::formatEvent const LoggingEvent   evnt [pure virtual]
 

This purely virtual function makes the class abstract.

Formats the LoggingEvent according to the rules of the Layout. Subclasses clearly must implement this method.

Reimplemented in Qmms::Log::PatternLayout, and Qmms::Log::SimpleLayout.


The documentation for this class was generated from the following file:
Generated on Fri Jan 3 15:04:04 2003 for QmmsLog by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001