Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.6 RWAuditStreamBuffer

The class RWAuditStreamBuffer can be inserted into any stream as a way to monitor the activity of the steam. The class counts each byte as it passes through the steam. The current byte count can be obtained simply by referencing the RWAuditStreamBuffer instance. The result can also be sent to a specified object for storage through a parameter in the constructor. There is also a constructor option to specify a function to be called on each byte that passes through the buffer. For more information on the available interface, see the class description in the SourcePro C++ API Reference Guide.

Here is a simple example of the use of this class:



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.