14 #ifndef PANDAIOSYSTEM_H 15 #define PANDAIOSYSTEM_H 20 #include <assimp/IOSystem.hpp> 30 void Close(Assimp::IOStream *file);
32 bool Exists(
const char *file)
const;
34 Assimp::IOStream *
Open(
const char *file,
const char *mode);
Assimp::IOStream * Open(const char *file, const char *mode)
Opens the indicated file.
char getOsSeparator() const
Returns the path separator for this operating system.
A hierarchy of directories and files that appears to be one continuous file system,...
void Close(Assimp::IOStream *file)
Closes the indicated file stream.
bool ComparePaths(const char *p1, const char *p2) const
Returns true if the two paths point to the same file, false if not.
static VirtualFileSystem * get_global_ptr()
Returns the default global VirtualFileSystem.
bool Exists(const char *file) const
Returns true if the file exists, duh.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PandaIOSystem(VirtualFileSystem *vfs=VirtualFileSystem::get_global_ptr())
Initializes the object with the given VFS, or the global one if none was specified.
Custom implementation of Assimp::IOSystem.