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

RWObjectOutputStreamImp

Module:  Advanced Tools   Package:  Serialization


RWObjectOutputStreamImp RWFilteredDataOutputStreamImp

Local Index

Members

Header File

#include <rw/serial/RWObjectOutputStreamImp.h>

Description

Base class impl for all object output streams. Inherits default operations for streaming primitives from the data output stream.

See the corresponding handle class, RWObjectOutputStream, for the description of the object output stream interface.

Protected Constructors

RWObjectOutputStreamImp(RWDataOutputStream& sinkStream);

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
putString(const RWCString& str);
void
putSymbol(const RWSymbol& sym);
void
putUString(const RWBasicUString& str);
void
putWString(const RWWString& str); 
void
rememberObject(const void* obj);
void          
setNameForNextObject(const RWCString& str);
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);

Protected Member Functions

int
getContextNestingLevel();
virtual void
closeOuterContext(bool writeContext) = 0;
virtual void
openOuterContext(bool writeContext) = 0;

Protected Data Member

RWCString
nameForNextObject_;


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.