rwlogo
SourcePro 11.1

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTraceOstreamClient Class Reference
[Execution Tracing]

A handle class for a trace event client that sends all events to an std::ostream. More...

#include <rw/trace/RWTraceOstreamClient.h>

Inheritance diagram for RWTraceOstreamClient:
RWTraceEventClient

List of all members.

Public Member Functions

 RWTraceOstreamClient (std::ostream &ostr=std::cerr)
 RWTraceOstreamClient (RWTraceOstreamClientImp *bodyP)
 RWTraceOstreamClient (RWStaticCtor)
 RWTraceOstreamClient (const RWTraceOstreamClient &second)
 ~RWTraceOstreamClient (void)

Detailed Description

RWTraceOstreamClient is a trace client that sends all events to an std::ostream. If no std::ostream is specified, uses std::cerr by default.

Examples

 #include <rw/trace/trace.h>
 . . .
 RWTraceOstreamClient myTraceClient(cerr);

Constructor & Destructor Documentation

RWTraceOstreamClient::RWTraceOstreamClient ( std::ostream &  ostr = std::cerr  ) 

Creates a client that will output to the specified std::ostream. If no std::ostream is specified, uses std::cerr by default.

RWTraceOstreamClient::RWTraceOstreamClient ( RWTraceOstreamClientImp bodyP  ) 

Attaches to and increments the reference count on bodyP .

RWTraceOstreamClient::RWTraceOstreamClient ( RWStaticCtor   ) 

Constructs a global static handle instance (may be used before being constructed).

RWTraceOstreamClient::RWTraceOstreamClient ( const RWTraceOstreamClient second  ) 

Attaches to and increments the reference count on second 's body.

RWTraceOstreamClient::~RWTraceOstreamClient ( void   ) 

Destructor.


© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.