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

ProducerNameLogRecordFilter Class Reference
[LWLogging Service]

#include <ProducerNameLogRecordFilter.h>

Inheritance diagram for ProducerNameLogRecordFilter:

Inheritance graph
[legend]
Collaboration diagram for ProducerNameLogRecordFilter:

Collaboration graph
[legend]
List of all members.

Detailed Description

A LogRecordFilter implementation that tests for ProducerNames.

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 ProducerName that belongs to a set of ProducerNames configured in this filter as a sequence of ProducerNames


Public Member Functions

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


Constructor & Destructor Documentation

ProducerNameLogRecordFilter::ProducerNameLogRecordFilter const CosLwLog::StringSeq levels  ) 
 

ctor

Parameters:
levels - The ProducerNames to test

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

dtor

Does nothing

ProducerNameLogRecordFilter::ProducerNameLogRecordFilter const ProducerNameLogRecordFilter filter  ) 
 

Copy ctor

Parameters:
filter That is which is to be copied


Member Function Documentation

virtual CosLwLog::RecordId ProducerNameLogRecordFilter::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: