![]() |
Plasma Engine
2.0
|
Table-of-contents for an plArchive file. More...
#include <Archive.h>
Public Member Functions | |
plUInt32 | FindEntry (plStringView sFile) const |
Returns the entry index for the given file or plInvalidIndex, if not found. | |
plUInt32 | AddPathString (plStringView sPathString) |
void | RebuildPathToEntryHashes () |
plStringView | GetEntryPathString (plUInt32 uiEntryIdx) const |
plResult | Serialize (plStreamWriter &inout_stream) const |
plResult | Deserialize (plStreamReader &inout_stream, plUInt8 uiArchiveVersion) |
Public Attributes | |
plDynamicArray< plArchiveEntry > | m_Entries |
all files stored in the plArchive | |
plHashTable< plArchiveStoredString, plUInt32 > | m_PathToEntryIndex |
allows to map a hashed string to the index of the file entry for the file path | |
plDynamicArray< plUInt8 > | m_AllPathStrings |
one large array holding all path strings for the file entries, to reduce allocations | |
Table-of-contents for an plArchive file.