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.
◆ DefaultIOSystem()
DefaultIOSystem::DefaultIOSystem |
( |
| ) |
|
◆ ~DefaultIOSystem()
DefaultIOSystem::~DefaultIOSystem |
( |
| ) |
|
◆ absolutePath()
std::string DefaultIOSystem::absolutePath |
( |
const std::string & |
path | ) |
|
|
static |
get the path of a full filepath example: /tmp/archive.tar.gz -> /tmp/
◆ Close()
void DefaultIOSystem::Close |
( |
IOStream * |
pFile | ) |
|
|
virtual |
Closes the given file and releases all resources associated with it.
Implements Assimp::IOSystem.
◆ ComparePaths()
bool DefaultIOSystem::ComparePaths |
( |
const char * |
one, |
|
|
const char * |
second |
|
) |
| const |
|
virtual |
◆ completeBaseName()
std::string 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 DefaultIOSystem::Exists |
( |
const char * |
pFile | ) |
const |
|
virtual |
Tests for the existence of a file at the given path.
Implements Assimp::IOSystem.
◆ fileName()
std::string 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 DefaultIOSystem::getOsSeparator |
( |
| ) |
const |
|
virtual |
◆ Open()
IOStream * DefaultIOSystem::Open |
( |
const char * |
pFile, |
|
|
const char * |
pMode = "rb" |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: