14 #ifndef VIRTUALFILECOMPOSITE_H 15 #define VIRTUALFILECOMPOSITE_H 34 virtual Filename get_filename()
const;
51 return get_class_type();
53 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
61 static void init_type() {
62 VirtualFile::init_type();
64 VirtualFile::get_class_type());
A hierarchy of directories and files that appears to be one continuous file system,...
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
A list of VirtualFiles, as returned by VirtualFile::scan_directory().
The name of a file, such as a texture file or an Egg file.
virtual bool is_directory() const
Returns true if this file represents a directory (and scan_directory() may be called),...
virtual bool has_file() const
Returns true if this file exists, false otherwise.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.