RWTraceLevelFilterImp RWTraceSingleClientFilterImp ... ...RWTraceEventFilterImp RWTraceEventClientImp RWReference
#include <rw/trace/RWTraceLevelFilterImp.h>
RWTraceLevelFilterImp is the implementation (body) for RWTraceLevelFilter.
RWTraceLevelFilterImp(RWTraceEventSeverity level= RW_TRACE_LEVEL_NONE);
Constructor that takes a severity level.
static RWTraceSingleClientFilter make(RWTraceEventSeverity level = RW_TRACE_LEVEL_NONE);
Creates a new RWTraceLevelFilterImp instance that will output to the specified ostream. If no ostream is specified, uses cerr by default.
RWTraceEventSeverity getLevel() const;
Public interface for getting the filter's severity level. Forwards call to the internal protected doGetLevel() member.
void setLevel(const RWTraceEventSeverity level);
Public interface for setting the filter's severity level. Forwards call to the internal protected doSetLevel() member.
virtual RWTraceEventSeverity doGetLevel() const;
Returns the filter's severity level.
virtual void doSetLevel(const RWTraceEventSeverity level);
Sets the severity level for the filter.
virtual void doTrace(const RWTraceEvent& ev);
Forwards the trace event to the attached client if the event's severity is greater or equal to the filter's severity level.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.