Go to the documentation of this file.
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.
void Close(Assimp::IOStream *file)
Closes the indicated file stream.
bool Exists(const char *file) const
Returns true if the file exists, duh.
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,...
Assimp::IOStream * Open(const char *file, const char *mode)
Opens the indicated file.
static VirtualFileSystem * get_global_ptr()
Returns the default global VirtualFileSystem.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool ComparePaths(const char *p1, const char *p2) const
Returns true if the two paths point to the same file, false if not.
char getOsSeparator() const
Returns the path separator for this operating system.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.