26 SetObjectID(prefix + std::to_string(GetIndex()) +
"_" + GetObjectID());
32 return std::to_string(hash);
void SetObjectID(const std::string &id)
static std::string ObjectIDFromPtr(const void *ptr)
void SetObjectIDAsPtr(const void *ptr)
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
virtual void BuildFullId(const std::string &prefix)
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.