![]() |
XII Release 0.1.0
|
Helper class to store a hashed string for quick lookup in the archive TOC. More...
#include <Archive.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
xiiArchiveStoredString (xiiUInt64 uiLowerCaseHash, xiiUInt32 uiSrcStringOffset) | |
Public Attributes | |
xiiUInt32 | m_uiLowerCaseHash |
xiiUInt32 | m_uiSrcStringOffset |
Helper class to store a hashed string for quick lookup in the archive TOC.
Stores a hash of the lower case string for quick comparison. Additionally stores an offset into the xiiArchiveTOC::m_AllPathStrings array for final validation, to prevent hash collisions. The proper string lookup with hash collision check only works together with xiiArchiveLookupString, which has the necessary context to index the xiiArchiveTOC::m_AllPathStrings array.