Utility class to make IrrXML work together with our custom IO system See the IrrXML docs for more details.
More...
Inherits IFileReadCallBack.
Utility class to make IrrXML work together with our custom IO system See the IrrXML docs for more details.
Construct IrrXML-Reader in BaseImporter::InternReadFile():
*
* std::unique_ptr<IOStream> file( pIOHandler->Open( pFile));
* if( file.get() == NULL) {
* }
*
*
* mReader = irr::io::createIrrXMLReader( mIOWrapper.get());
* if( !mReader) {
* ThrowException( "xxxx: Unable to open file.");
* }
*
Assimp::CIrrXML_IOStreamReader::CIrrXML_IOStreamReader |
( |
IOStream * |
_stream | ) |
|
|
inlineexplicit |
virtual Assimp::CIrrXML_IOStreamReader::~CIrrXML_IOStreamReader |
( |
| ) |
|
|
inlinevirtual |
virtual long Assimp::CIrrXML_IOStreamReader::getSize |
( |
| ) |
const |
|
inlinevirtual |
Returns size of file in bytes.
virtual int Assimp::CIrrXML_IOStreamReader::read |
( |
void * |
buffer, |
|
|
int |
sizeToRead |
|
) |
| |
|
inlinevirtual |
Reads an amount of bytes from the file.
- Parameters
-
buffer,: | Pointer to output buffer. |
sizeToRead,: | Amount of bytes to read |
- Returns
- Returns how much bytes were read.
The documentation for this class was generated from the following file: