Open 3D Engine Archive Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
#include <ArchiveTOC.h>
Classes | |
struct | Path |
Public Types | |
using | CreateFromTocViewOutcome = AZStd::expected< ArchiveTableOfContents, EnumerateErrorString > |
Initializes a Table of Contents in-memory structure from a Table of Contents view. | |
using | ArchiveFilePathTable = AZStd::vector< Path > |
Public Member Functions | |
ArchiveTableOfContents () | |
Static Public Member Functions | |
static CreateFromTocViewOutcome | CreateFromTocView (const ArchiveTableOfContentsView &tocView) |
Public Attributes | |
AZStd::vector< ArchiveTocFileMetadata > | m_fileMetadataTable |
ArchiveFilePathTable | m_filePaths |
AZStd::vector< ArchiveBlockLineUnion > | m_blockOffsetTable {} |
vector storing the block offset table for each file | |
Structure for which owns the Table of Contents data It contains data structure which makes it easier to dynamically add/remove/update files to the table of contents while in memory
using Archive::ArchiveTableOfContents::ArchiveFilePathTable = AZStd::vector<Path> |
vector storing a copy of each file path in memory Its length matches the value of m_fileCount
|
inlinedefault |
The Archive TOC is either uncompressed or compressed based on the compression algorithm index set within the Archive Header
AZStd::vector<ArchiveTocFileMetadata> Archive::ArchiveTableOfContents::m_fileMetadataTable |
vector storing a copy of each file metadata entry in memory It's length matches the value of m_fileCount