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_PassThrough Class Reference

#include <IXMLParser.h>

Inheritance diagram for IPullParser::IXMLReader_PassThrough:
IXMLReader

Public Member Functions

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

Public Attributes

unsigned char b [512]
 
unsigned char * pos
 
unsigned char * bEnd
 
IXMLReaderr
 

Detailed Description

Definition at line 619 of file IXMLParser.h.

Constructor & Destructor Documentation

IPullParser::IXMLReader_PassThrough::IXMLReader_PassThrough ( IXMLReader r)

Member Function Documentation

int IPullParser::IXMLReader_PassThrough::nByteRead ( )
int IPullParser::IXMLReader_PassThrough::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_PassThrough::skipBOM ( )

Member Data Documentation

unsigned char IPullParser::IXMLReader_PassThrough::b[512]

Definition at line 623 of file IXMLParser.h.

unsigned char * IPullParser::IXMLReader_PassThrough::bEnd

Definition at line 623 of file IXMLParser.h.

unsigned char * IPullParser::IXMLReader_PassThrough::pos

Definition at line 623 of file IXMLParser.h.

IXMLReader* IPullParser::IXMLReader_PassThrough::r

Definition at line 624 of file IXMLParser.h.


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