Default implementation of IOSystem using the standard C file functions.
More...
Inherits Assimp::IOSystem.
|
static std::string | absolutePath (const std::string &path) |
| get the path of a full filepath example: /tmp/archive.tar.gz -> /tmp/ More...
|
|
static std::string | completeBaseName (const std::string &path) |
| get the complete base name of a full filepath example: /tmp/archive.tar.gz -> archive.tar More...
|
|
static std::string | fileName (const std::string &path) |
| get the file name of a full filepath example: /tmp/archive.tar.gz -> archive.tar.gz More...
|
|
Default implementation of IOSystem using the standard C file functions.
◆ absolutePath()
static std::string Assimp::DefaultIOSystem::absolutePath |
( |
const std::string & |
path | ) |
|
|
static |
get the path of a full filepath example: /tmp/archive.tar.gz -> /tmp/
◆ Close()
void Assimp::DefaultIOSystem::Close |
( |
IOStream * |
pFile | ) |
|
|
overridevirtual |
Closes the given file and releases all resources associated with it.
Implements Assimp::IOSystem.
◆ ComparePaths()
bool Assimp::DefaultIOSystem::ComparePaths |
( |
const char * |
one, |
|
|
const char * |
second |
|
) |
| const |
|
overridevirtual |
◆ completeBaseName()
static std::string Assimp::DefaultIOSystem::completeBaseName |
( |
const std::string & |
path | ) |
|
|
static |
get the complete base name of a full filepath example: /tmp/archive.tar.gz -> archive.tar
◆ Exists()
bool Assimp::DefaultIOSystem::Exists |
( |
const char * |
pFile | ) |
const |
|
overridevirtual |
Tests for the existence of a file at the given path.
Implements Assimp::IOSystem.
◆ fileName()
static std::string Assimp::DefaultIOSystem::fileName |
( |
const std::string & |
path | ) |
|
|
static |
get the file name of a full filepath example: /tmp/archive.tar.gz -> archive.tar.gz
◆ getOsSeparator()
char Assimp::DefaultIOSystem::getOsSeparator |
( |
| ) |
const |
|
overridevirtual |
◆ Open()
IOStream* Assimp::DefaultIOSystem::Open |
( |
const char * |
pFile, |
|
|
const char * |
pMode = "rb" |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following file: