Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNo next file
Advanced Tools Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWWithObjectOutputContext

Module:  Advanced Tools   Package:  Serialization


Does not inherit

Local Index

Members

Header File

#include <rw/serial/RWObjectOutputStream.h>

Description

This class consists of a guard object that opens and closes a context within a lexical scope. Simply declare an automatic instance of this class initialized with a object output stream, and all object references within the scope of the automatic variable will be streamed within the same context.

Example

Public Constructors

RWWithObjectOutputContext(RWObjectOutputStream& strm, bool writeContext = true);
RWWithObjectOutputContext(RWObjectOutputStreamImp* strm,  bool writeContext = true);

Public Destructors

~RWWithObjectOutputContext();

See Also

RWObjectOutputStream



Previous fileTop of DocumentContentsIndex pageNo next file

© 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.