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

RWObjectInputStreamImp

Module:  Advanced Tools   Package:  Serialization


RWObjectInputStreamImp RWFilteredDataInputStreamImp

Local Index

Members

Header File

#include <rw/serial/RWObjectInputStreamImp.h>

Description

Base class for all object input stream implementations. The derivation from filtered data input stream provides default implementations for output of all primitive types and allows the low level stream formatting to be controlled by delegation to a separate data input stream object.

See the corresponding handle class, RWObjectInputStream, for the description of the Object Input Stream interface.

Protected Constructors

RWObjectInputStreamImp(RWDataInputStream& sourceStream);

Public Member Functions

virtual void 
getString(RWCString& value) =0;
virtual void 
getUString(RWBasicUString& value);
virtual void 
getWString(RWWString& value);
virtual void 
getSymbol(RWSymbol& value);
 
bool     
startMember(RWSymbol& memberName,
                            RWStreamType& memberType);
RWSymbol          
startBlock();
RWSymbol          
startMap(int& count, RWStreamType& keyType,
RWStreamType& valueType);
RWSymbol          
startSequence(int& count, RWStreamType& elementType);
RWSymbol    
readTypeInfo();
static RWTCountingPointer<RWTFactory1<void*, RWCString,
                          RWSymbol>, RWSafeCounter>& 
getFactory();
void          
closeContext(bool readContext = true);
void          
endAssoc();
void          
endBlock();
void          
endElement();
void          
endMap();
void          
endMember();
void          
endParent();
void          
endSequence();
void          
getString(RWCString& value);
void
getWString(RWWString& value);
void          
getSymbol(RWSymbol& value);
void          
openContext(bool readContext = true);
void          
rememberObject(const void* obj);
void          
startAssocKey();
void          
startAssocValue();
void          
startElement(int& position);
void          
startParent(const RWSymbol& typeInfo);
void*         
getNewObject(const type_info* base);

Protected Member Functions

virtual void          
closeOuterContext(bool readContext) = 0;
virtual void          
openOuterContext(bool readContext) = 0;
virtual void 
getChar(char& value);
virtual void 
getCharacter(char& value);
virtual void 
peekChar(char& value);
virtual void 
PeekCharacter(char& value);

See Also

RWObjectInputStream



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.