Plasma Engine
2.0
Loading...
Searching...
No Matches
HashableStruct.h
1
2
#pragma once
3
4
#include <Foundation/Basics.h>
5
6
15
template
<
typename
DERIVED>
16
class
plHashableStruct
17
{
18
public
:
19
plHashableStruct
();
// [tested]
20
plHashableStruct
(
const
plHashableStruct<DERIVED>
& other);
// [tested]
21
22
void
operator=(
const
plHashableStruct<DERIVED>
& other);
// [tested]
23
25
plUInt32
CalculateHash
()
const
;
// [tested]
26
};
27
28
#include <Foundation/Algorithm/Implementation/HashableStruct_inl.h>
plHashableStruct
This class provides a base class for hashable structs (e.g. descriptor objects).
Definition
HashableStruct.h:17
plHashableStruct::CalculateHash
plUInt32 CalculateHash() const
Calculates the 32 bit hash of the struct and returns it.
Definition
HashableStruct_inl.h:26
Code
Engine
Foundation
Algorithm
HashableStruct.h
Generated by
1.11.0