Navigation
API > API/Runtime > API/Runtime/Core
Class for computing a hash of multiple types, going through GetTypeHash when the type implements it, and fallbacks to raw data hashing 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).
| Name | FHashBuilder |
| Type | class |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/HashBuilder.h |
| Include Path | #include "Misc/HashBuilder.h" |
Syntax
class FHashBuilder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHashBuilder
(
uint32 InHash |
Misc/HashBuilder.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Hash | uint32 | Misc/HashBuilder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHashBuilder & Append
(
const T& InData |
Misc/HashBuilder.h | ||
FHashBuilder & Append
(
const TArray< T >& InArray |
Misc/HashBuilder.h | ||
FHashBuilder & Append
(
const TSet< T >& InSet |
Misc/HashBuilder.h | ||
FHashBuilder & Append
(
const TMap< T, U >& InMap |
Misc/HashBuilder.h | ||
TEnableIf< TIsPODType< T >::Value, FHashBuilder & >::Type AppendRaw
(
const T& InData |
Misc/HashBuilder.h | ||
FHashBuilder & AppendRaw
(
const void* Data, |
Misc/HashBuilder.h | ||
uint32 GetHash() |
Misc/HashBuilder.h |