45 #ifndef AI_DEFAULTIOSYSTEM_H_INC
46 #define AI_DEFAULTIOSYSTEM_H_INC
49 # pragma GCC system_header
62 bool Exists(
const char* pFile)
const;
83 static std::string
fileName(
const std::string &path );
98 #endif //AI_DEFAULTIOSYSTEM_H_INC
char getOsSeparator() const
static std::string fileName(const std::string &path)
get the file name of a full filepath example: /tmp/archive.tar.gz -> archive.tar.gz
File system wrapper for C++. Inherit this class to supply custom file handling logic to the Import li...
Definition: DefaultIOSystem.h:58
static std::string completeBaseName(const std::string &path)
get the complete base name of a full filepath example: /tmp/archive.tar.gz -> archive....
IOStream * Open(const char *pFile, const char *pMode="rb")
void Close(IOStream *pFile)
bool ComparePaths(const char *one, const char *second) const
static std::string absolutePath(const std::string &path)
get the path of a full filepath example: /tmp/archive.tar.gz -> /tmp/
bool Exists(const char *pFile) const
CPP-API: Interface to the file system.
Definition: IOSystem.hpp:93
Definition: ai_assert.h:50
CPP-API: Class to handle file I/O for C++.
Definition: IOStream.hpp:75