Module: Advanced Tools Package: Serialization
Does not inherit
#include <rw/serial/RWInsertProxy.h>
A proxy object for inserting objects into object streams with an instance name.
This class is typically used by calling the convenience global function rwInsertWithName.
RWTInsertProxy( RWCString myName, T& myObject ):
Constructs a proxy object using the parameter myName for the instance name and myObject for the instance object. Inserting the proxy object into an object stream will cause the string contained by myName to be used as the name for the object.
Not all object streams support this feature. For example, the compact object streams in the Serialization package do not provide support, while the XML object streams in the XML Streams Module do provide support.
© 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.