Navigation
API > API/Runtime > API/Runtime/Engine
Base class of Hasher classes used by IAnimationDataModel classes to share code between GenerateGuid and GenerateDebugStateString. This class uses no virtuals for performance; the function that takes a Hasher should be templated on the type of the Hasher.
This base class shows the required interface and some convenience functions. It uses the Curiously Recurring Template Pattern to call the Subclass's version of internal function calls.
| Name | FHasherBase |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimDataModelHasher.h |
| Include Path | #include "Animation/AnimDataModelHasher.h" |
Syntax
template<typename SubClassType>
class FHasherBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BeginObject
(
const TCHAR* Name |
Animation/AnimDataModelHasher.h | ||
void EndObject() |
Animation/AnimDataModelHasher.h | ||
void UpdateAnimatedBoneAttributes
(
TConstArrayView< FAnimatedBoneAttribute > AnimatedBoneAttributes, |
Animation/AnimDataModelHasher.h | ||
void UpdateArray
(
const TArray< T >& Array, |
Animation/AnimDataModelHasher.h | ||
void UpdateArray
(
TConstArrayView< T > Array, |
Animation/AnimDataModelHasher.h | ||
void UpdateBytes
(
const uint8* Data, |
Animation/AnimDataModelHasher.h | ||
void UpdateData
(
const T& Data, |
Animation/AnimDataModelHasher.h | ||
void UpdateLegacyString
(
const FString& Data, |
Previously, some code was serializing strings as GetCharArray, which includes the null terminator, and we did not want to change behavior because it would change the key. | Animation/AnimDataModelHasher.h | |
void UpdateRichCurve
(
const FRichCurve& Curve, |
Animation/AnimDataModelHasher.h | ||
void UpdateString
(
const FString& Data, |
Animation/AnimDataModelHasher.h | ||
void UpdateTransformCurves
(
TConstArrayView< FTransformCurve > TransformCurves, |
Animation/AnimDataModelHasher.h | ||
void UpdateVectorCurve
(
const FVectorCurve& VectorCurve, |
Animation/AnimDataModelHasher.h |