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

RWObjectInputStream

Module:  Advanced Tools   Package:  Serialization


RWObjectInputStream RWDataInputStream

Local Index

Members

Header File

#include <rw/serial/RWObjectInputStream.h>

Description

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

Public Constructors

RW_EXPLICIT 
RWObjectInputStream(RWObjectInputStreamImp* body);
RWObjectInputStream(const RWObjectInputStream& handle);

Public Operators

RWObjectInputStream& 
operator=(const RWObjectInputStream& handle);

Public Member Functions

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*         
getNewObject(const type_info* base);
void          
getString(RWCString& value);
void          
getString(std::string& value);
void
getUString(RWBasicUString& 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);


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.