Home | Class list | Files | Namespace Members | Class members | File members |
#include <irrXML.h>
Public Member Functions | |
virtual int | getSize ()=0 |
Returns size of file in bytes. | |
virtual int | read (void *buffer, int sizeToRead)=0 |
Reads an amount of bytes from the file. | |
virtual | ~IFileReadCallBack () |
virtual destructor |
With this, it is possible to make the xml parser read in other things than just files. The Irrlicht engine is using this for example to read xml from compressed .zip files. To make the parser read in any other data, derive a class from this interface, implement the two methods to read your data and give a pointer to an instance of your implementation when calling createIrrXMLReader(), createIrrXMLReaderUTF16() or createIrrXMLReaderUTF32()
Definition at line 212 of file irrXML.h.
|
virtual destructor
|
|
Returns size of file in bytes.
|
|
Reads an amount of bytes from the file.
|