wavelength
1.0.0
Loading...
Searching...
No Matches
ArkHash.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
utl/BinStream.h
"
4
10
class
ArkHash
{
11
public
:
17
ArkHash
();
18
24
~ArkHash
();
25
33
int
GetHashValue
(
const
char
*str);
34
44
void
Read
(
BinStream
&stream);
45
46
char
*
mHeap
;
47
char
*
mHeapEnd
;
48
char
*
mFree
;
49
char
**mTable;
50
int
mTableSize;
51
};
BinStream.h
ArkHash
Hash table of the names of the files and directories of an archive.
Definition
arkhash.h:12
ArkHash::GetHashValue
int GetHashValue(const char *str)
Find a string.
ArkHash::~ArkHash
~ArkHash()
Free the strings and the table.
ArkHash::mFree
char * mFree
Definition
ArkHash.h:48
ArkHash::mHeap
char * mHeap
Definition
ArkHash.h:46
ArkHash::ArkHash
ArkHash()
Create an empty table.
ArkHash::mHeapEnd
char * mHeapEnd
Definition
ArkHash.h:47
ArkHash::Read
void Read(BinStream &stream)
Replace the strings and the table with the ones a stream stores.
BinStream
Stream of raw bytes, the base of the memory, file, and network streams.
Definition
binstream.h:22
tools
synthedit
os
ArkHash.h
Generated by
1.15.0