Mako 7.5.0 API
Loading...
Searching...
No Matches
IDOMHashable Class Referenceabstract

Abstract interface for objects that can be hashed. More...

#include <idomhashable.h>

Inheritance diagram for IDOMHashable:

Public Member Functions

virtual ~IDOMHashable ()
 Virtual destructor.
 
virtual bool hash (uint64 &hash)=0
 Retrieve a hash for this object.
 
virtual uint64 hashE ()
 As hash(), but throws an exception if the operation fails.
 

Detailed Description

Abstract interface for objects that can be hashed.

Abstract interface for EDL objects that may be hashed.

Useful for determining a fast, 64-bit hash of objects that support this interface. Not guaranteed to be completely unique, but collisions are unlikely.

Member Function Documentation

◆ hash()

virtual bool IDOMHashable::hash ( uint64 & hash)
pure virtual

Retrieve a hash for this object.

Parameters
hashA reference to receive the hash.
Returns
bool True on success, false if the call fails.

Implemented in IInputStream.

◆ hashE()

virtual uint64 IDOMHashable::hashE ( )
inlinevirtual

As hash(), but throws an exception if the operation fails.

Returns
uint64 The hash.

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