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

The IXMLReaderStringSZ is used to "stream" data coming from an in-memory zero-terminated String inside the Incredible XML Pull Parser. More...

#include <IXMLParser.h>

Inheritance diagram for IXMLReaderStringSZ:
IXMLReader

Public Member Functions

 IXMLReaderStringSZ (IXMLCStr b)
 
int read (unsigned char *buffer, int nbyte)
 The read() method is used to "stream" data inside the Pull Parser. More...
 
- 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
 
unsigned char * bend
 

Detailed Description

The IXMLReaderStringSZ is used to "stream" data coming from an in-memory zero-terminated String inside the Incredible XML Pull Parser.

Definition at line 427 of file IXMLParser.h.

Constructor & Destructor Documentation

IXMLReaderStringSZ::IXMLReaderStringSZ ( IXMLCStr  b)

Member Function Documentation

int IXMLReaderStringSZ::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.

Member Data Documentation

unsigned char* IXMLReaderStringSZ::b

Definition at line 431 of file IXMLParser.h.

unsigned char * IXMLReaderStringSZ::bend

Definition at line 431 of file IXMLParser.h.


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