An input stream for the xercesc parser that takes the xml document from a memory buffer or file. More...
#include <libppbase/base_soap/SOAPMemFileInputStream.h>
Public Member Functions | |
SOAPMemFileInputStream (base::MemFile *source, bool own) | |
Constructor. | |
~SOAPMemFileInputStream () | |
Destructor. | |
unsigned int | curPos () const |
Gets the current position within the xml document. | |
unsigned int | readBytes (XMLByte *const toFill, const unsigned int maxToRead) |
Reads some bytes from the xml document. |
An input stream for the xercesc parser that takes the xml document from a memory buffer or file.
base_soap::SOAPMemFileInputStream::SOAPMemFileInputStream | ( | base::MemFile * | source, | |
bool | own | |||
) |
Constructor.
source | the source memory file | |
own | flag: take ownership of this mem file |
unsigned int base_soap::SOAPMemFileInputStream::curPos | ( | ) | const |
Gets the current position within the xml document.
unsigned int base_soap::SOAPMemFileInputStream::readBytes | ( | XMLByte *const | toFill, | |
const unsigned int | maxToRead | |||
) |
Reads some bytes from the xml document.
toFill | the buffer that receives the bytes | |
maxToRead | maximum number of bytes to read |