From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- .../classirr_1_1io_1_1_i_file_read_call_back.html | 223 +++++++++++++++++++++ 1 file changed, 223 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html new file mode 100644 index 0000000..c0f9a7c --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1io_1_1_i_file_read_call_back.html @@ -0,0 +1,223 @@ + + +
+ +Callback class for file read abstraction. + More...
+ +#include <irrXML.h>
Callback class for file read abstraction.
+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()
+ + +virtual irr::io::IFileReadCallBack::~IFileReadCallBack | +( | +) | + [inline, virtual] |
+
virtual long irr::io::IFileReadCallBack::getSize | +( | +) | + const [pure virtual] |
+
Returns size of file in bytes.
+ +virtual int irr::io::IFileReadCallBack::read | +( | +void * | +buffer, | +
+ | + | int | +sizeToRead | +
+ | ) | + [pure virtual] |
+
Reads an amount of bytes from the file.
+buffer,: | Pointer to buffer where to read bytes will be written to. |
sizeToRead,: | Amount of bytes to read from the file. |