GetHashFuncT

Defines the function that return a hash value from the object and the attachment name.