Log4Qt::Filter Class Reference

The class Filter is the base class for all filters. More...

#include <filter.h>

Inheritance diagram for Log4Qt::Filter:

Log4Qt::LogObject Log4Qt::DenyAllFilter Log4Qt::LevelMatchFilter Log4Qt::LevelRangeFilter Log4Qt::StringMatchFilter

List of all members.

Public Types

enum  Decision { ACCEPT, DENY, NEUTRAL }

Public Member Functions

 Q_ENUMS (Decision)
 Filter (QObject *pObject=0)
virtual ~Filter ()
Filternext () const
void setNext (Filter *pFilter)
virtual void activateOptions ()
virtual Decision decide (const LoggingEvent &rEvent) const =0

Properties

Filter next


Detailed Description

The class Filter is the base class for all filters.

Note:
The ownership and lifetime of objects of this class are managed. See Object ownership for more details.

Member Enumeration Documentation

Enumerator:
ACCEPT 
DENY 
NEUTRAL 


Constructor & Destructor Documentation

Log4Qt::Filter::Filter ( QObject *  pObject = 0  )  [inline]

Log4Qt::Filter::~Filter (  )  [inline, virtual]


Member Function Documentation

Log4Qt::Filter::Q_ENUMS ( Decision   ) 

Filter* Log4Qt::Filter::next (  )  const

void Log4Qt::Filter::setNext ( Filter pFilter  ) 

void Log4Qt::Filter::activateOptions (  )  [inline, virtual]

virtual Decision Log4Qt::Filter::decide ( const LoggingEvent rEvent  )  const [pure virtual]


Property Documentation

Filter * Log4Qt::Filter::next [inline, read, write]

The property holds the next filter of this filter.

The default is 0 for no next filter.

See also:
next(), setNext()


The documentation for this class was generated from the following file:

Generated on Sun Mar 1 16:40:46 2009 for Log4Qt by  doxygen 1.5.6