CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::HashableTypeTrait Struct Referenceabstract

A meta interface that can be implemented by types that support hashing. More...

#include <CeresEngine/Reflection/TypeInfo.hpp>

Public Member Functions

virtual size_t hash (const Box &object) const =0
 Computes the hash of the object by using CeresEngine::hash.
 

Protected Member Functions

 ~HashableTypeTrait ()=default
 

Detailed Description

A meta interface that can be implemented by types that support hashing.

Constructor & Destructor Documentation

◆ ~HashableTypeTrait()

CeresEngine::HashableTypeTrait::~HashableTypeTrait ( )
protecteddefault

Member Function Documentation

◆ hash()

virtual size_t CeresEngine::HashableTypeTrait::hash ( const Box object) const
pure virtual

Computes the hash of the object by using CeresEngine::hash.


The documentation for this struct was generated from the following file: