21 INLINE VirtualFileComposite::
23 _file_system(file_system),
38 nassertv(file->get_file_system() == _file_system);
39 nassertv(file->get_filename() == _filename);
41 _components.push_back(file);
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.
void add_component(VirtualFile *file)
Adds one more component to the composite directory.
The abstract base class for a file or directory within the VirtualFileSystem.
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), false otherwise.