![]() |
XII Release 0.1.0
|
Table-of-contents for a xiiArchive file. More...
#include <Archive.h>
Public Member Functions | |
xiiUInt32 | FindEntry (xiiStringView sFile) const |
Returns the entry index for the given file or xiiInvalidIndex, if not found. | |
xiiUInt32 | AddPathString (xiiStringView sPathString) |
void | RebuildPathToEntryHashes () |
xiiStringView | GetEntryPathString (xiiUInt32 uiEntryIdx) const |
xiiResult | Serialize (xiiStreamWriter &ref_stream) const |
xiiResult | Deserialize (xiiStreamReader &ref_stream, xiiUInt8 uiArchiveVersion) |
Public Attributes | |
xiiDynamicArray< xiiArchiveEntry > | m_Entries |
all files stored in the xiiArchive | |
xiiHashTable< xiiArchiveStoredString, xiiUInt32 > | m_PathToEntryIndex |
allows to map a hashed string to the index of the file entry for the file path | |
xiiDynamicArray< xiiUInt8 > | m_AllPathStrings |
one large array holding all path strings for the file entries, to reduce allocations | |
Table-of-contents for a xiiArchive file.