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

The IXMLReaderFile is used to "stream" data coming from a file inside the Incredible XML Pull Parser. More...

#include <IXMLParser.h>

Inheritance diagram for IXMLReaderFile:
IXMLReader

Public Member Functions

 IXMLReaderFile (IXMLCStr filename)
 
 ~IXMLReaderFile ()
 
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 ()
 
virtual void setNormalBufferSize (int nbyte)
 
virtual void setSource (IXMLReader *source)
 do not use More...
 
virtual IXMLReadergetSource ()
 do not use More...
 

Public Attributes

void * f
 

Detailed Description

The IXMLReaderFile is used to "stream" data coming from a file inside the Incredible XML Pull Parser.

Definition at line 417 of file IXMLParser.h.

Constructor & Destructor Documentation

IXMLReaderFile::IXMLReaderFile ( IXMLCStr  filename)
IXMLReaderFile::~IXMLReaderFile ( )

Member Function Documentation

int IXMLReaderFile::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 IXMLReaderFile::reset ( )
virtual

do not use

Reimplemented from IXMLReader.

Member Data Documentation

void* IXMLReaderFile::f

Definition at line 423 of file IXMLParser.h.


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