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

ProducerIdLogRecordFilter Class Reference
[LWLogging Service]

#include <ProducerIdLogRecordFilter.h>

Inheritance diagram for ProducerIdLogRecordFilter:

Inheritance graph
[legend]
Collaboration diagram for ProducerIdLogRecordFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

A LogRecordFilter implementation that tests for ProducerIds.

Author:
Author
knoxy
Version:
Revision
1.1
Date:
Date
2004/10/24 01:35:54
A LogRecord will pass this filter if it has a ProducerId that belongs to a set of ProducerIds configured in this filter as a sequence of ProducerIds


Public Member Functions

 ProducerIdLogRecordFilter (const CosLwLog::StringSeq &levels)
virtual ~ProducerIdLogRecordFilter ()
 ProducerIdLogRecordFilter (const ProducerIdLogRecordFilter &filter)
virtual CosLwLog::RecordId filter (const CosLwLog::LogRecord &recd) const


Constructor & Destructor Documentation

ProducerIdLogRecordFilter::ProducerIdLogRecordFilter const CosLwLog::StringSeq levels  ) 
 

ctor

Parameters:
levels - The ProducerIds to test

virtual ProducerIdLogRecordFilter::~ProducerIdLogRecordFilter  )  [inline, virtual]
 

dtor

Does nothing

ProducerIdLogRecordFilter::ProducerIdLogRecordFilter const ProducerIdLogRecordFilter filter  ) 
 

Copy ctor

Parameters:
filter That is which is to be copied


Member Function Documentation

virtual CosLwLog::RecordId ProducerIdLogRecordFilter::filter const CosLwLog::LogRecord recd  )  const [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

Implements LogRecordFilter.


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