Assimp
v4.1. (December 2018)
|
Inherits Assimp::IOSystem.
Public Member Functions | |
void | Close (Assimp::IOStream *pFile) |
Closes the given file and releases all resources associated with it. More... | |
bool | Exists (const char *pFile) const |
Tests for the existence of a file at the given path. More... | |
char | getOsSeparator () const |
Returns the system specific directory separator. More... | |
JavaIOSystem (JNIEnv *env, jobject &javaIOSystem) | |
Assimp::IOStream * | Open (const char *pFile, const char *pMode="rb") |
Open a new file with a given path. More... | |
![]() | |
virtual bool | ChangeDirectory (const std::string &path) |
Will change the current directory to the given path. More... | |
virtual bool | ComparePaths (const char *one, const char *second) const |
Compares two paths and check whether the point to identical files. More... | |
bool | ComparePaths (const std::string &one, const std::string &second) const |
For backward compatibility. More... | |
virtual bool | CreateDirectory (const std::string &path) |
CReates an new directory at the given path. More... | |
virtual const std::string & | CurrentDirectory () const |
Returns the top directory from the stack. More... | |
virtual bool | DeleteFile (const std::string &file) |
AI_FORCE_INLINE bool | Exists (const std::string &pFile) const |
For backward compatibility. More... | |
IOSystem () | |
Default constructor. More... | |
IOStream * | Open (const std::string &pFile, const std::string &pMode=std::string("rb")) |
For backward compatibility. More... | |
virtual bool | PopDirectory () |
Pops the top directory from the stack. More... | |
virtual bool | PushDirectory (const std::string &path) |
Pushes a new directory onto the directory stack. More... | |
virtual size_t | StackSize () const |
Returns the number of directories stored on the stack. More... | |
virtual | ~IOSystem () |
Virtual destructor. More... | |
|
inline |
|
inlinevirtual |
Closes the given file and releases all resources associated with it.
pFile | The file instance previously created by Open(). |
Implements Assimp::IOSystem.
|
inlinevirtual |
Tests for the existence of a file at the given path.
pFile | Path to the file |
Implements Assimp::IOSystem.
|
inlinevirtual |
Returns the system specific directory separator.
Implements Assimp::IOSystem.
|
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).
pFile | Path to the file |
pMode | Desired file I/O mode. Required are: "wb", "w", "wt", "rb", "r", "rt". |
Implements Assimp::IOSystem.