Plasma Engine  2.0
Loading...
Searching...
No Matches
plArchiveStoredString Class Reference

Helper class to store a hashed string for quick lookup in the archive TOC. More...

#include <Archive.h>

Public Member Functions

 PL_DECLARE_POD_TYPE ()
 
 plArchiveStoredString (plUInt64 uiLowerCaseHash, plUInt32 uiSrcStringOffset)
 

Public Attributes

plUInt32 m_uiLowerCaseHash
 
plUInt32 m_uiSrcStringOffset
 

Detailed Description

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 plArchiveTOC::m_AllPathStrings array for final validation, to prevent hash collisions. The proper string lookup with hash collision check only works together with plArchiveLookupString, which has the necessary context to index the plArchiveTOC::m_AllPathStrings array.


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