Redirect IOSystem to a blob.
More...
Inherits Assimp::IOSystem.
Redirect IOSystem to a blob.
Assimp::BlobIOSystem::BlobIOSystem |
( |
| ) |
|
|
inline |
virtual Assimp::BlobIOSystem::~BlobIOSystem |
( |
| ) |
|
|
inlinevirtual |
virtual void Assimp::BlobIOSystem::Close |
( |
IOStream * |
pFile | ) |
|
|
inlinevirtual |
Closes the given file and releases all resources associated with it.
- Parameters
-
pFile | The file instance previously created by Open(). |
Implements Assimp::IOSystem.
virtual bool Assimp::BlobIOSystem::Exists |
( |
const char * |
pFile | ) |
const |
|
inlinevirtual |
Tests for the existence of a file at the given path.
- Parameters
-
- Returns
- true if there is a file with this path, else false.
Implements Assimp::IOSystem.
const char* Assimp::BlobIOSystem::GetMagicFileName |
( |
| ) |
const |
|
inline |
virtual char Assimp::BlobIOSystem::getOsSeparator |
( |
| ) |
const |
|
inlinevirtual |
Returns the system specific directory separator.
- Returns
- System specific directory separator
Implements Assimp::IOSystem.
virtual IOStream* Assimp::BlobIOSystem::Open |
( |
const char * |
pFile, |
|
|
const char * |
pMode |
|
) |
| |
|
inlinevirtual |
Open a new file with a given path.
When the access to the file is finished, call Close() to release all associated resources (or the virtual dtor of the IOStream).
- Parameters
-
pFile | Path to the file |
pMode | Desired file I/O mode. Required are: "wb", "w", "wt", "rb", "r", "rt". |
- Returns
- New IOStream interface allowing the lib to access the underlying file.
- Note
- When implementing this class to provide custom IO handling, you probably have to supply an own implementation of IOStream as well.
Implements Assimp::IOSystem.
The documentation for this class was generated from the following file: