SourcePro® C++ API Reference Guide

Product Documentation:
   SourcePro C++
Documentation Home
List of all members | Public Member Functions
RWQEXMLResultHandler Class Reference

#include <rw/rwtest/perf/RWQEXMLResultHandler.h>

Public Member Functions

 RWQEXMLResultHandler (std::ostream &ostrm)
 
 RWQEXMLResultHandler (const RWQEXMLResultHandler &rhs)
 
void endSuite ()
 
void endTest ()
 
void handleResult (const RWQEPerfTestResult &result)
 
void startSuite (const std::string &desc)
 
void startTest (const RWQEPerfTestDef &def)
 

Detailed Description

An implementation of the Result Handler API that prints data to a supplied std::ostream in a XML format.

Constructor & Destructor Documentation

RWQEXMLResultHandler::RWQEXMLResultHandler ( std::ostream &  ostrm)
inline

Constructs an RWQEXMLResultHandler for the specified std::ostream ostrm.

RWQEXMLResultHandler::RWQEXMLResultHandler ( const RWQEXMLResultHandler rhs)
inline

Copy constructor. The std::ostream reference is preserved.

Member Function Documentation

void RWQEXMLResultHandler::endSuite ( )
inline

End the test suite XML block.

void RWQEXMLResultHandler::endTest ( )
inline

Writes an indicator to the stream indicating the test is complete.

void RWQEXMLResultHandler::handleResult ( const RWQEPerfTestResult result)
inline

Writes a summary of an iteration result to the output stream.

void RWQEXMLResultHandler::startSuite ( const std::string &  desc)
inline

Write the XML header and begin the test suite XML block.

void RWQEXMLResultHandler::startTest ( const RWQEPerfTestDef def)
inline

Writes a summary of the test definition to the output stream.

Copyright © 2016 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.
Provide feedback to Rogue Wave about its documentation.