Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

LogRecordFilter Class Reference
[LWLogging Service]

#include <LogRecordFilter.h>

Inheritance diagram for LogRecordFilter:

Inheritance graph
[legend]
List of all members.

Detailed Description

A contract definition for a Log Record filter.

Log Records sometimes need to be tested against a specific criteria to determine if the record should be a member of a set. This class provides the general contract for such a filter.

$Revsion$

Date
2004/10/24 01:35:54


Public Member Functions

virtual CosLwLog::RecordId filter (const CosLwLog::LogRecord &recd) const =0


Member Function Documentation

virtual CosLwLog::RecordId LogRecordFilter::filter const CosLwLog::LogRecord recd  )  const [pure virtual]
 

All LogRecordFilters are required to cover this operation

The fundamental test for determining if a LogRecord should have membership in a set given a specific criteria. The criteria is expected to have been established during construction of the LogRecordFilter implementation. A LogRecordFilter returns the RecordId of the tested record if successful, else it return's zero.

Parameters:
recd - The LogRecord to be tested
Returns:
RecordId of the tested record if successful, else zero

Implemented in DefaultLogRecordFilter, LogLevelLogRecordFilter, ProducerIdLogRecordFilter, and ProducerNameLogRecordFilter.


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