15 #include "virtualFileComposite.h" 72 bool VirtualFileComposite::
76 Components::const_iterator ci;
77 for (ci = _components.begin(); ci != _components.end(); ++ci) {
78 if ((*ci)->scan_local_directory(file_list, mount_points)) {
virtual bool has_file() const
Returns true if this file exists, false otherwise.
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.
virtual bool is_directory() const
Returns true if this file represents a directory (and scan_directory() may be called), false otherwise.
virtual Filename get_filename() const
Returns the full pathname to this file within the virtual file system.
A specialization of ordered_vector that emulates a standard STL set: one copy of each element is allo...
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 VirtualFileSystem * get_file_system() const
Returns the VirtualFileSystem this file is associated with.
TypeHandle is the identifier used to differentiate C++ class types.