SourcePro® C++ 13.1 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Constructs an XML stream that includes a generic transformation of the XML document before writing it out to the sink. More...
#include <rw/xmlstreams/RWTParsedTransformObjectOutputStreamImp.h>
Static Public Member Functions | |
static RWObjectOutputStream | make (std::ostream &sink, Transform transform, const RWCString &rootElementType=nestedObjectTag, bool escape=true) |
static RWObjectOutputStream | make (std::ostream &sink, Transform transform, std::ios *&formatter, const RWCString &rootElementType=nestedObjectTag, bool escape=true) |
More... | |
Static Public Member Functions inherited from RWXmlObjectOutputStreamImp | |
static RWObjectOutputStream | make (std::ostream &sink, const RWCString &rootElementType=nestedObjectTag, bool escape=true) |
static RWObjectOutputStream | make (std::ostream &sink, std::ios *&formatter, const RWCString &rootElementType=nestedObjectTag, bool escape=true) |
More... | |
static RWObjectOutputStream | make (RWDataOutputStream &sink, const RWCString &rootElementType=nestedObjectTag, bool escape=true) |
Static Public Member Functions inherited from RWXmlObjectStreamCommon | |
static const char * | rwStreamToLocalStringType (RWStreamType stype) |
static const char * | rwStreamToStringType (RWStreamType stype) |
Protected Member Functions | |
RWTParsedTransformObjectOutputStreamImp (std::ostream &ostr, Transform transform, const RWCString &rootElementType, bool escape) | |
RWTParsedTransformObjectOutputStreamImp (std::ostream &ostr, Transform transform, std::ios *&formatter, const RWCString &rootElementType, bool escape) | |
More... | |
Protected Member Functions inherited from RWXmlObjectOutputStreamImp | |
RWXmlObjectOutputStreamImp (std::ostream &ostr, const RWCString &rootElementType, bool escape) | |
RWXmlObjectOutputStreamImp (std::ostream &ostr, std::ios *&formatter, const RWCString &rootElementType, bool escape) | |
More... | |
RWXmlObjectOutputStreamImp (const RWDataOutputStream &ostr, const RWCString &rootElementType, bool escape) | |
virtual void | closeOuterContext (bool writeContext) |
virtual void | openOuterContext (bool writeContext) |
virtual void | putString (const char *string, RWSize count) |
virtual void | putUString (const RWUChar *ustring, RWSize count) |
virtual void | putWString (const wchar_t *wstring, RWSize count) |
Protected Member Functions inherited from RWObjectOutputStreamImp | |
RWObjectOutputStreamImp (const RWDataOutputStream &sinkStream) | |
int | getContextNestingLevel () |
Protected Member Functions inherited from RWFilteredDataOutputStreamImp | |
RWFilteredDataOutputStreamImp (const RWDataOutputStream &sinkStream) | |
RWDataOutputStream & | getSinkStream () |
const RWDataOutputStream & | getSinkStream () const |
Protected Member Functions inherited from RWDataOutputStreamImp | |
RWDataOutputStreamImp () | |
Protected Member Functions inherited from RWOutputStreamImp | |
RWOutputStreamImp () | |
Protected Member Functions inherited from RWStreamImp | |
RWStreamImp () | |
Protected Member Functions inherited from RWBodyBase | |
RWBodyBase (void) | |
RWBodyBase (RWStaticCtor) | |
RWBodyBase (const RWBodyBase &second) | |
virtual | ~RWBodyBase (void) |
RWBodyBase & | operator= (const RWBodyBase &second) |
Protected Member Functions inherited from RWTCountingBody< RWMutexLock > | |
~RWTCountingBody (void) | |
unsigned | addReference (void) |
unsigned | references (void) const |
unsigned | removeReference (void) |
RWTCountingBody (unsigned initCount=0) | |
RWTCountingBody (RWStaticCtor) | |
RWTCountingBody (const RWTCountingBody< RWMutexLock > &second) | |
RWTCountingBody< RWMutexLock > & | operator= (const RWTCountingBody< RWMutexLock > &second) |
Additional Inherited Members | |
Public Member Functions inherited from RWXmlObjectOutputStreamImp | |
virtual void | endAssoc () |
virtual void | endBlock () |
virtual void | endElement () |
virtual void | endMap () |
virtual void | endMember (const RWSymbol &memberName) |
virtual void | endSequence () |
virtual bool | needToWrite (const void *obj) |
virtual void | newObjectMarker () |
virtual void | putBool (bool value) |
More... | |
virtual void | putChar (char value) |
More... | |
virtual void | putCharacter (char value) |
More... | |
virtual void | putDouble (double value) |
More... | |
virtual void | putFloat (float value) |
More... | |
virtual void | putInt (int value) |
More... | |
virtual void | putLong (long value) |
More... | |
virtual void | putLongDouble (long double value) |
More... | |
virtual void | putLongLong (long long value) |
More... | |
virtual void | putShort (short value) |
More... | |
virtual void | putSignedChar (signed char value) |
More... | |
virtual void | putSizeT (size_t value) |
More... | |
virtual void | putString (const RWCString &value) |
virtual void | putUCharacter (RWUChar value) |
More... | |
virtual void | putUnsignedChar (unsigned char value) |
More... | |
virtual void | putUnsignedInt (unsigned int value) |
More... | |
virtual void | putUnsignedLong (unsigned long value) |
More... | |
virtual void | putUnsignedLongLong (unsigned long long value) |
More... | |
virtual void | putUnsignedShort (unsigned short value) |
More... | |
virtual void | putUString (const RWBasicUString &value) |
More... | |
virtual void | putWchar_t (wchar_t value) |
More... | |
virtual void | putWCharacter (wchar_t value) |
More... | |
virtual void | putWString (const RWWString &value) |
More... | |
virtual void | rememberObject (const void *obj) |
virtual void | setNameForNextObject (const RWCString &str) |
virtual void | startAssocKey () |
virtual void | startAssocValue () |
virtual void | startBlock (const RWSymbol &) |
virtual void | startElement (int position) |
virtual void | startMap (int count, RWStreamType keyType, RWStreamType valueType, const RWSymbol &) |
virtual void | startSequence (int count, RWStreamType elementType, const RWSymbol &) |
virtual void | writeMemberInfo (const RWSymbol &memberName, RWStreamType memberType) |
virtual void | writeNullPtr () |
virtual void | writeObjectName () |
virtual void | writeTypeInfo (const RWSymbol &typeInfo) |
Static Public Attributes inherited from RWXmlObjectStreamCommon | |
static const char * | associationTag |
More... | |
static const char * | assocKeyTag |
More... | |
static const char * | assocValueTag |
More... | |
static const char * | elementPosAttr |
More... | |
static const char * | IdAttr |
More... | |
static const char * | IdRefAttr |
More... | |
static const char * | mapCountAttr |
More... | |
static const char * | mapKeyTypeAttr |
More... | |
static const char * | mapTag |
More... | |
static const char * | mapValueTypeAttr |
More... | |
static const char * | memberNameAttr |
More... | |
static const char * | memberTag |
More... | |
static const char * | memberTypeAttr |
More... | |
static const char * | nestedObjectTag |
More... | |
static const char * | objectNameAttr |
More... | |
static const char * | objectRefTag |
More... | |
static const char * | objectRefTagLocal |
More... | |
static const char * | objectTag |
static const char * | objectTypeAttr |
More... | |
static const char * | primitiveTag |
More... | |
static const char * | rwEncodingNamespaceValue |
More... | |
static const char * | rwNamespace |
More... | |
static const char * | rwNamespaceAttr |
More... | |
static const char * | rwNamespaceValue |
More... | |
static const char * | seqCountAttr |
More... | |
static const char * | seqTypeAttr |
More... | |
static const char * | sequenceElementTag |
More... | |
static const char * | sequenceTag |
More... | |
static const char * | xsdNamespace |
More... | |
static const char * | xsdNamespaceAttr |
More... | |
static const char * | xsdNamespaceValue |
More... | |
static const char * | xsiNamespace |
More... | |
static const char * | xsiNamespaceAttr |
More... | |
static const char * | xsiNamespaceValue |
More... | |
Protected Attributes inherited from RWObjectOutputStreamImp | |
RWCString | nameForNextObject_ |
This class uses RWXmlObjectOutputStreamImp and RWTParsedTransformOutputStreamImp to construct an XML stream that includes a generic transformation of the XML document before writing it out to the sink.
|
inlineprotected |
Used by the make() function and potentially by derived classes to initialize an output stream and to insert a transformation of the serialized object data based on the transformation object transform.
The parameter ostr is a handle to the initialized stream.
The parameter transform is a transformation object.
The parameter rootElementType must be one of the following:
int
The value passed indicates the root element of the generated document. The default setting is nestedObjectTag.
The parameter escape sets whether primitive values will be escaped. The default is set to true
.
Throws no exceptions.
|
inlineprotected |
Used by the make() function and potentially by derived classes to initialize an output stream and to insert a transformation of the serialized object data based on the transformation object transform.
The parameter ostr is a handle to the initialized stream.
The parameter transform is a transformation object.
The parameter rootElementType must be one of the following:
int
The value passed indicates the root element of the generated document. The default setting is nestedObjectTag.
The parameter escape sets whether primitive values will be escaped. The default is set to true
.
Throws no exceptions.
|
inlinestatic |
Constructs an RWTParsedTransformObjectOutputStreamImp instance that uses sink as its sink of bytes and returns a handle to it.
The parameter transform is a transformation object
The parameter rootElementType must be one of the following:
int
The value passed indicates the root element of the generated document. The default setting is nestedObjectTag.
The parameter escape sets whether primitive values will be escaped. The default is set to true
.
Throws no exceptions.
|
inlinestatic |
Constructs an RWTParsedTransformObjectOutputStreamImp instance that uses sink as its sink of bytes and returns a handle to it.
The parameter transform is a transformation object
The parameter rootElementType must be one of the following:
int
The value passed indicates the root element of the generated document. The default setting is nestedObjectTag.
The parameter escape sets whether primitive values will be escaped. The default is set to true
.
Throws no exceptions.
Copyright © 2015 Rogue Wave Software, Inc. All Rights Reserved. |