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