Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::IO::ZipDir::FileEntryTree Class Reference

Public Types

using SubdirMap = AZStd::map< AZ::IO::PathView, AZStd::unique_ptr< FileEntryTree > >
 
using FileMap = AZStd::map< AZ::IO::PathView, AZStd::unique_ptr< FileEntry > >
 

Public Member Functions

 AZ_CLASS_ALLOCATOR (FileEntryTree, AZ::SystemAllocator)
 
ErrorEnum Add (AZ::IO::PathView szPath, const FileEntryBase &file)
 
FileEntryAdd (AZ::IO::PathView szPath)
 
uint32_t NumFilesTotal () const
 
uint32_t NumDirsTotal () const
 
void Clear ()
 
void Swap (FileEntryTree &rThat)
 
bool IsOwnerOf (const FileEntry *pFileEntry) const
 
FileEntryTreeFindDir (AZ::IO::PathView szDirName)
 
ErrorEnum RemoveDir (AZ::IO::PathView szDirName)
 
ErrorEnum RemoveAll ()
 
FileMap::iterator FindFile (AZ::IO::PathView szFileName)
 
ErrorEnum RemoveFile (AZ::IO::PathView szFileName)
 
FileEntryTreeGetDirectory ()
 
FileMap::iterator GetFileBegin ()
 
FileMap::iterator GetFileEnd ()
 
uint32_t NumFiles () const
 
SubdirMap::iterator GetDirBegin ()
 
SubdirMap::iterator GetDirEnd ()
 
uint32_t NumDirs () const
 
AZStd::string_view GetFileName (FileMap::iterator it)
 
AZStd::string_view GetDirName (SubdirMap::iterator it)
 
FileEntryGetFileEntry (FileMap::iterator it)
 
FileEntryTreeGetDirEntry (SubdirMap::iterator it)
 

Protected Attributes

SubdirMap m_mapDirs
 
FileMap m_mapFiles
 

The documentation for this class was generated from the following file: