Ark Server API (ASA) - Wiki
|
#include <HashBuilder.h>
Public Member Functions | |
FHashBuilder (uint32 InHash=0) | |
void | AppendRaw (const void *Data, int64 Num) |
template<typename T > | |
TEnableIf< TIsPODType< T >::Value, FHashBuilder & >::Type | AppendRaw (const T &InData) |
template<typename T > | |
TEnableIf<!TModels< CGetTypeHashable, T >::Value, FHashBuilder & >::Type | Append (const T &InData) |
template<typename T > | |
TEnableIf< TModels< CGetTypeHashable, T >::Value, FHashBuilder & >::Type | Append (const T &InData) |
template<typename T > | |
FHashBuilder & | Append (const TArray< T > &InArray) |
template<typename T > | |
FHashBuilder & | Append (const TSet< T > &InArray) |
template<typename T > | |
FHashBuilder & | operator<< (const T &InData) |
uint32 | GetHash () const |
Private Attributes | |
uint32 | Hash |
Class for computing a hash of multiple types, going through GetTypeHash when the type implements it, and fallbacks to CRC32 when the type doesn't.
Note: this hash builder should be used for transient hashes, as some types implements run-dependent hash computations, such as GetTypeHash(FName).
Definition at line 17 of file HashBuilder.h.
|
inlineexplicit |
Definition at line 20 of file HashBuilder.h.
|
inline |
Definition at line 37 of file HashBuilder.h.
|
inline |
Definition at line 43 of file HashBuilder.h.
Definition at line 50 of file HashBuilder.h.
Definition at line 60 of file HashBuilder.h.
|
inline |
Definition at line 30 of file HashBuilder.h.
Definition at line 24 of file HashBuilder.h.
|
inline |
Definition at line 75 of file HashBuilder.h.
|
inline |
Definition at line 70 of file HashBuilder.h.
|
private |
Definition at line 81 of file HashBuilder.h.