Plasma Engine  2.0
Loading...
Searching...
No Matches
HashableStruct.h
1
2#pragma once
3
4#include <Foundation/Basics.h>
5
6
15template <typename DERIVED>
17{
18public:
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>
This class provides a base class for hashable structs (e.g. descriptor objects).
Definition HashableStruct.h:17
plUInt32 CalculateHash() const
Calculates the 32 bit hash of the struct and returns it.
Definition HashableStruct_inl.h:26