Redirect IOSystem to a blob.
More...
#include <BlobIOSystem.h>
Inherits Assimp::IOSystem.
Redirect IOSystem to a blob.
◆ BlobIOSystem() [1/2]
Assimp::BlobIOSystem::BlobIOSystem |
( |
| ) |
|
|
inline |
The default class constructor.
◆ BlobIOSystem() [2/2]
Assimp::BlobIOSystem::BlobIOSystem |
( |
const std::string & |
baseName | ) |
|
|
inline |
The class constructor with the base name.
- Parameters
-
◆ ~BlobIOSystem()
Assimp::BlobIOSystem::~BlobIOSystem |
( |
| ) |
|
|
inlineoverride |
◆ Close()
Closes the given file and releases all resources associated with it.
- Parameters
-
pFile | The file instance previously created by Open(). |
Implements Assimp::IOSystem.
◆ Exists()
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.
◆ GetBlobChain()
◆ GetMagicFileName()
const char * Assimp::BlobIOSystem::GetMagicFileName |
( |
| ) |
const |
|
inline |
◆ getOsSeparator()
char Assimp::BlobIOSystem::getOsSeparator |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns the system specific directory separator.
- Returns
- System specific directory separator
Implements Assimp::IOSystem.
◆ Open()
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.
◆ BlobIOStream
The documentation for this class was generated from the following file: