#include <vfs_tree.h>
|  | 
| bool | DeleteTree (const VfsFile &file) | 
|  | remove all files with a lower priority than fileand do the same for all subdirectories recursively.  More...
 | 
|  | 
◆ VfsFiles
◆ VfsSubdirectories
◆ VfsDirectory()
      
        
          | VfsDirectory::VfsDirectory | ( |  | ) |  | 
      
 
 
◆ AddFile()
- Returns
- address of existing or newly inserted file. 
 
 
◆ AddSubdirectory()
- Returns
- address of existing or newly inserted subdirectory. 
 
 
◆ AssociatedDirectory()
◆ Clear()
      
        
          | void VfsDirectory::Clear | ( |  | ) |  | 
      
 
empty file and subdirectory lists (e.g. 
when rebuilding VFS). CAUTION: this invalidates all previously returned pointers. 
 
 
◆ DeleteSubtree()
      
        
          | void VfsDirectory::DeleteSubtree | ( | const VfsFile & | file | ) |  | 
      
 
remove the given file or subdirectory according to the priority of the passed .DELETED file. 
CAUTION: Invalidates all previously returned pointers of the file or subdirectory (and contents) if those have lower priority than file. 
 
 
◆ DeleteTree()
  
  | 
        
          | bool VfsDirectory::DeleteTree | ( | const VfsFile & | file | ) |  |  | private | 
 
remove all files with a lower priority than file and do the same for all subdirectories recursively. 
- Returns
- true if the directory is empty afterwards 
 
 
◆ Files()
  
  | 
        
          | const VfsFiles & VfsDirectory::Files | ( |  | ) | const |  | inline | 
 
 
◆ GetFile()
- Returns
- file with the given name. (note: non-const to allow changes to the file) 
 
 
◆ GetSubdirectory()
- Returns
- subdirectory with the given name. (note: non-const to allow changes to the subdirectory) 
 
 
◆ RemoveFile()
      
        
          | void VfsDirectory::RemoveFile | ( | const VfsPath & | name | ) |  | 
      
 
remove the given file from the virtual directory (no effect on the physical file). 
no effect if the file does not exist. 
 
 
◆ RequestRepopulate()
      
        
          | void VfsDirectory::RequestRepopulate | ( |  | ) |  | 
      
 
ensure the next ShouldPopulate returns true. 
 
 
◆ SetAssociatedDirectory()
      
        
          | void VfsDirectory::SetAssociatedDirectory | ( | const PRealDirectory & | realDirectory | ) |  | 
      
 
 
◆ ShouldPopulate()
      
        
          | bool VfsDirectory::ShouldPopulate | ( |  | ) |  | 
      
 
- Returns
- whether this directory should be populated from its AssociatedDirectory(). note that calling this is a promise to do so if true is returned – the flag is reset immediately. 
 
 
◆ Subdirectories()
◆ m_files
◆ m_realDirectory
◆ m_shouldPopulate
  
  | 
        
          | bool VfsDirectory::m_shouldPopulate |  | private | 
 
 
◆ m_subdirectories
The documentation for this class was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/vfs/vfs_tree.h
- /home/docker/jenkins/workspace/technical-docs/source/lib/file/vfs/vfs_tree.cpp