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

RWObjectOutputStream

Module:  Advanced Tools   Package:  Serialization


RWObjectOutputStream RWDataOutputStream

Local Index

Members

Header File

#include <rw/serial/RWObjectOutputStream.h>

Description

Handle class for all the object output stream implementation classes. Implements the handle idiom from the handle/body pattern. With the exception of constructors and assignment operators, all member functions forward directly to the implementation associated with this handle during construction.

Public Constructors

RW_EXPLICIT 
RWObjectOutputStream(RWObjectOutputStreamImp* body);
RWObjectOutputStream(const RWObjectOutputStream& handle);

Public Operators

RWObjectOutputStream& 
operator=(const RWObjectOutputStream& handle);

Public Member Functions

void
closeContext(bool writeContext = true);
void
endAssoc();
void
endBlock();
void
endElement();
void
endMap();
void
endMember(const RWSymbol& memberName);
void
endParent();
void
endSequence();
bool
needToWrite(const void* obj);
void
newObjectMarker();
void
openContext(bool writeContext = true);
void          
putInsertProxy(const RWTInsertProxy<T>& ins);
void
putString(const RWCString& str);
void
putString(const std::string& str);
void
putUString(const RWBasicUString& str);
void
putWString(const RWWString& str);
void
putSymbol(const RWSymbol& sym);
void
rememberObject(const void* obj);
void          
setNameForNextObject(const RWCString& instanceName)
void
startAssocKey();
void
startAssocValue();
void
startBlock(const RWSymbol& typeInfo);
void
startElement(int position);
void          
startMap(int count, RWStreamType keyType,
         RWStreamType valueType, const RWSymbol& typeInfo);
void
startParent(const RWSymbol& typeInfo);
void          
startSequence(int count, RWStreamType elementType,
              const RWSymbol& typeInfo);
void          
writeMemberInfo(const RWSymbol& memberName,
                RWStreamType memberType);
void          
writeNullPtr();
void          
writeTypeInfo(const RWSymbol& typeInfo);


Previous fileTop of DocumentContentsIndex pageNext 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.