Mako 7.5.0 API
Loading...
Searching...
No Matches
JawsMako::IHashable Class Referenceabstract

Simple interface to provide a consistent hashing method for Mako objects. More...

#include <types.h>

Inheritance diagram for JawsMako::IHashable:

Public Member Functions

virtual uint64 hash () const
 Obtain a 64-bit hash of the receiving object.
 
virtual void updateHash (uint64 &hash) const =0
 Update the given hash to include the receiver.
 

Detailed Description

Simple interface to provide a consistent hashing method for Mako objects.

Member Function Documentation

◆ hash()

virtual uint64 JawsMako::IHashable::hash ( ) const
inlinevirtual

Obtain a 64-bit hash of the receiving object.

Returns
uint64 The hash.

◆ updateHash()

virtual void JawsMako::IHashable::updateHash ( uint64 & hash) const
pure virtual

Update the given hash to include the receiver.

Parameters
hashThe hash to update.

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