Assimp v5.2.2 (January 2022)
The Asset-Importer-Lib API documentation.
|
Default IO implementation, use standard IO operations. More...
#include <DefaultIOStream.h>
Inherits Assimp::IOStream.
Public Member Functions | |
size_t | FileSize () const override |
Get size of file. | |
void | Flush () override |
Flush file contents. | |
size_t | Read (void *pvBuffer, size_t pSize, size_t pCount) override |
Read from stream. | |
aiReturn | Seek (size_t pOffset, aiOrigin pOrigin) override |
Seek specific position. | |
size_t | Tell () const override |
Get current seek position. | |
size_t | Write (const void *pvBuffer, size_t pSize, size_t pCount) override |
Write to stream. | |
~DefaultIOStream () override | |
Destructor public to allow simple deletion to close the file. | |
![]() | |
virtual | ~IOStream ()=default |
Destructor. | |
Protected Member Functions | |
DefaultIOStream () AI_NO_EXCEPT | |
DefaultIOStream (FILE *pFile, const std::string &strFilename) | |
The class constructor with the file name and the stream. | |
![]() | |
IOStream () AI_NO_EXCEPT=default | |
Constructor protected, use IOSystem::Open() to create an instance. | |
Friends | |
class | DefaultIOSystem |
Default IO implementation, use standard IO operations.
|
protected |
|
protected |
The class constructor with the file name and the stream.
pFile | The file-streaam |
strFilename | The file name |
|
override |
Destructor public to allow simple deletion to close the file.
|
overridevirtual |
Get size of file.
Implements Assimp::IOStream.
|
overridevirtual |
Flush file contents.
Implements Assimp::IOStream.
|
overridevirtual |
Read from stream.
Implements Assimp::IOStream.
Seek specific position.
Implements Assimp::IOStream.
|
overridevirtual |
Get current seek position.
Implements Assimp::IOStream.
|
overridevirtual |
Write to stream.
Implements Assimp::IOStream.
|
friend |