
#include <gzHashUtils.h>
Public Member Functions | |
| gzInstanceCompareInterface () | |
| Default constructor, Creates unique instance hash value. | |
| gzInstanceCompareInterface (const gzVoid *address) | |
| Generic constructor, Creates unique instance hash value from your supplied address. | |
| gzULong | hash () const |
| returns the hash value of your instance | |
| const gzVoid * | getInstance () const |
| returns the instance address | |
| gzBool | operator== (const gzInstanceCompareInterface &right) |
| equality operator | |
Derive your class from this inteface to get the hash() function. Your class can then be used by templates like gzDict etc. that requires the hash() comparing method.
Definition at line 55 of file gzHashUtils.h.
|
|
Default constructor, Creates unique instance hash value.
Definition at line 60 of file gzHashUtils.h. |
|
|
Generic constructor, Creates unique instance hash value from your supplied address.
Definition at line 63 of file gzHashUtils.h. |
|
|
returns the instance address
Definition at line 69 of file gzHashUtils.h. |
|
|
returns the hash value of your instance
Definition at line 66 of file gzHashUtils.h. References gzPtr2Val(). |
|
|
equality operator
Definition at line 72 of file gzHashUtils.h. References m_address. |