OSXMLEncodeBuffer Class Reference
The OSXMLEncodeBuffer class is derived from the OSXMLMessageBuffer base class. More...
#include <rtXmlCppMsgBuf.h>
Inheritance diagram for OSXMLEncodeBuffer:

Public Member Functions | |
| OSXMLEncodeBuffer () | |
| Default constructor. | |
| OSXMLEncodeBuffer (OSOCTET *pMsgBuf, size_t msgBufLen) | |
| This constructor allows a static message buffer to be specified to receive the encoded message. | |
| virtual size_t | getMsgLen () |
| This method returns the length of a previously encoded XML message. | |
| virtual int | init () |
| This method reinitializes the encode buffer to allow a new message to be encoded. | |
| virtual OSBOOL | isA (int bufferType) |
| This is a virtual method that must be overridden by derived classes to allow identification of the class. | |
| virtual long | write (const char *filename) |
| This method writes the encoded message to the given file. | |
| virtual long | write (FILE *fp) |
| This version of the write method writes to a file that is specified by a FILE pointer. | |
Protected Member Functions | |
| OSXMLEncodeBuffer (OSRTContext *pContext) | |
Detailed Description
The OSXMLEncodeBuffer class is derived from the OSXMLMessageBuffer base class.It contains variables and methods specific to encoding XML messages. It is used to manage the buffer into which a message is to be encoded.
Definition at line 137 of file rtXmlCppMsgBuf.h.
Constructor & Destructor Documentation
|
||||||||||||
|
This constructor allows a static message buffer to be specified to receive the encoded message.
|
Member Function Documentation
|
|
This method returns the length of a previously encoded XML message.
Definition at line 165 of file rtXmlCppMsgBuf.h. |
|
|
This method reinitializes the encode buffer to allow a new message to be encoded. This makes it possible to reuse one message buffer object in a loop to encode multiple messages. After this method is called, any previously encoded message in the buffer will be overwritten on the next encode call. |
|
|
This is a virtual method that must be overridden by derived classes to allow identification of the class. The base class variant is abstract. This method matches an enumerated identifier defined in the base class. One identifier is declared for each of the derived classes.
Definition at line 193 of file rtXmlCppMsgBuf.h. |
|
|
This version of the write method writes to a file that is specified by a FILE pointer.
|
|
|
This method writes the encoded message to the given file.
|
The documentation for this class was generated from the following file:
