28 #ifndef _OSXMLENCODESTREAM_H_ 29 #define _OSXMLENCODESTREAM_H_ 31 #include "rtxsrc/OSRTOutputStream.h" 69 OSBOOL ownStream = TRUE);
78 virtual EXTXMLMETHOD
int init ();
95 virtual OSBOOL
isA (Type bufferType) {
96 return bufferType == XMLEncode || bufferType == Stream;
113 inline OSRTOutputStream*
getStream ()
const {
return mpStream; }
The OSXMLEncodeStream class is derived from the OSXMLEncodeBase class.
OSRTOutputStream * getStream() const
This method returns the output stream associated with the object.
OSBOOL mbOwnStream
TRUE if the OSXMLEncodeStream object will close and free the stream in the destructor.
virtual OSBOOL isA(Type bufferType)
This is a virtual method that must be overridden by derived classes to allow identification of the cl...
XML encode/decode buffer and stream base class.
OSXMLEncodeBase is a base class for the XML encode buffer and stream classes, OSXMLEncodeBuffer and O...
OSRTOutputStream * mpStream
A pointer to an OSRTOutputStream object.
virtual const OSOCTET * getMsgPtr()
This is a virtual method that must be overridden by derived classes to allow access to the stored mes...