IncredibleXMLParser  3.05
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
IPullParser::IXMLReader_FromUTF16 Class Reference

#include <IXMLParser.h>

Inheritance diagram for IPullParser::IXMLReader_FromUTF16:
IXMLReader

Public Member Functions

 IXMLReader_FromUTF16 (IXMLReader *r)
 
 ~IXMLReader_FromUTF16 ()
 
void setNormalBufferSize (int nbyte)
 
void setSource (IXMLReader *source)
 do not use More...
 
IXMLReadergetSource ()
 do not use More...
 
int read (unsigned char *buffer, int nbyte)
 The read() method is used to "stream" data inside the Pull Parser. More...
 
void reset ()
 do not use More...
 
- Public Member Functions inherited from IXMLReader
 IXMLReader ()
 
virtual ~IXMLReader ()
 

Public Attributes

IXMLCharEncoding destEncoding
 
IXMLReaderr
 
int bufferSz
 
int len
 
int mbstate
 
unsigned char * b
 

Detailed Description

Definition at line 605 of file IXMLParser.h.

Constructor & Destructor Documentation

IPullParser::IXMLReader_FromUTF16::IXMLReader_FromUTF16 ( IXMLReader r)
IPullParser::IXMLReader_FromUTF16::~IXMLReader_FromUTF16 ( )

Member Function Documentation

IXMLReader* IPullParser::IXMLReader_FromUTF16::getSource ( )
virtual

do not use

Reimplemented from IXMLReader.

int IPullParser::IXMLReader_FromUTF16::read ( unsigned char *  buffer,
int  nbyte 
)
virtual

The read() method is used to "stream" data inside the Pull Parser.

The read() method must fill-in the memory buffer "buffer" with new data. At most "nbyte" bytes of data must be written inside the memory buffer.

Returns
The exact number of byte written inside the memory buffer (this must be smaller than "nbyte". If the read() function returns zero, it means that the data stream is finished. If the read() function returns -1, it means that the data stream is corrupted and we must abort.

Implements IXMLReader.

void IPullParser::IXMLReader_FromUTF16::reset ( )
virtual

do not use

Reimplemented from IXMLReader.

void IPullParser::IXMLReader_FromUTF16::setNormalBufferSize ( int  nbyte)
virtual

This method is called before any call to the "read()" method. It gives you an hint about the future value of the "nbyte" parameter of the "read()" method so that you can allocate internal buffers to the right size.

Reimplemented from IXMLReader.

void IPullParser::IXMLReader_FromUTF16::setSource ( IXMLReader source)
virtual

do not use

Reimplemented from IXMLReader.

Member Data Documentation

unsigned char* IPullParser::IXMLReader_FromUTF16::b

Definition at line 617 of file IXMLParser.h.

int IPullParser::IXMLReader_FromUTF16::bufferSz

Definition at line 616 of file IXMLParser.h.

IXMLCharEncoding IPullParser::IXMLReader_FromUTF16::destEncoding

Definition at line 614 of file IXMLParser.h.

int IPullParser::IXMLReader_FromUTF16::len

Definition at line 616 of file IXMLParser.h.

int IPullParser::IXMLReader_FromUTF16::mbstate

Definition at line 616 of file IXMLParser.h.

IXMLReader* IPullParser::IXMLReader_FromUTF16::r

Definition at line 615 of file IXMLParser.h.


The documentation for this class was generated from the following file: