13 #ifndef BERRYHANDLEOBJECT_H_
14 #define BERRYHANDLEOBJECT_H_
60 static const uint HASH_CODE_NOT_COMPUTED;
65 static const uint HASH_FACTOR;
70 static const uint HASH_INITIAL;
76 mutable uint hashCode;
124 QString GetId()
const;
133 if (hashCode == HASH_CODE_NOT_COMPUTED)
135 hashCode = HASH_INITIAL * HASH_FACTOR +
qHash(
id);
136 if (hashCode == HASH_CODE_NOT_COMPUTED)
152 bool IsDefined()
const;
159 virtual void Undefine() = 0;