15 #ifndef VIRTUALFILECOMPOSITE_H
16 #define VIRTUALFILECOMPOSITE_H
18 #include "pandabase.h"
20 #include "virtualFile.h"
37 virtual Filename get_filename()
const;
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
64 static void init_type() {
65 VirtualFile::init_type();
66 register_type(_type_handle,
"VirtualFileComposite",
67 VirtualFile::get_class_type());
74 #include "virtualFileComposite.I"
A hierarchy of directories and files that appears to be one continuous file system, even though the files may originate from several different sources that may not be related to the actual OS's file system.
The abstract base class for a file or directory within the VirtualFileSystem.
A specialization of ordered_vector that emulates a standard STL set: one copy of each element is allo...
This is our own Panda specialization on the default STL vector.
virtual bool has_file() const
Returns true if this file exists, false otherwise.
A list of VirtualFiles, as returned by VirtualFile::scan_directory().
The name of a file, such as a texture file or an Egg file.
TypeHandle is the identifier used to differentiate C++ class types.
A composite directory within the VirtualFileSystem: this maps to more than one directory on different...
virtual bool is_directory() const
Returns true if this file represents a directory (and scan_directory() may be called), false otherwise.