40 return std::to_string(hash);
virtual void BuildFullId(const std::string &prefix)
Build full id, including prefix and object index.
void SetObjectID(const std::string &id)
void SetObjectIDAsPtr(const void *ptr)
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
static std::string ObjectIDFromPtr(const void *ptr)
Construct fillid using pointer value.
std::string GetObjectID() const
unsigned GetIndex() const
const RDrawable * fDrawable
drawable
virtual ~RDrawableDisplayItem()
destructor
Base class for drawable entities: objects that can be painted on a RPad.
RAttrMap fAttr
attributes values
std::string fCssClass
user-defined CSS class, used for RStyle
std::string fId
user-defined CSS id, used for RStyle
virtual void OnDisplayItemDestroyed(RDisplayItem *) const
RIndirectDisplayItem()=default
const std::string * fId
pointer on drawable id
const std::string * fCssClass
pointer on drawable class
const RAttrMap * fAttr
pointer on drawable attributes
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.