Like other iostream classes, the portal stream classes use an object derived from a Standard C++ Library std::streambuf for buffering and final input and output of the byte stream. The RWPortalStreambuf class used by the portal streams contains an RWPortal. The portal stream class does the formatting, the streambuf buffers the data, and finally the portal object is responsible for requesting or passing bytes to a communications channel. Figure 7 is an object diagram that shows how these pieces fit together.
© 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.