9#ifndef ROOT7_Browsable_TObjectElement
10#define ROOT7_Browsable_TObjectElement
45 virtual std::string
GetMTime()
const {
return ""; }
52 TObjectElement(std::unique_ptr<RHolder> &obj,
const std::string &
name =
"",
bool _hide_childs =
false);
57 std::string
GetName()
const override;
70 std::string
GetTitle()
const override;
76 std::unique_ptr<RHolder>
GetObject()
override;
88 std::unique_ptr<RItem>
CreateItem()
const override;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Basic element of browsable hierarchy.
EActionKind
Possible actions on double-click.
Access to TObject basic properties for RBrowsable.
std::unique_ptr< RHolder > GetObject() override
Return copy of TObject holder - if possible.
virtual std::string GetMTime() const
const TClass * GetClass() const
Returns class for contained object.
bool CheckValid() override
Returns true if object is still valid.
bool IsCapable(EActionKind) const override
Check object capability.
virtual ~TObjectElement()=default
static std::unique_ptr< RLevelIter > GetCollectionIter(const TCollection *)
Creates iterator for TCollection object.
void SetHideChilds(bool on)
Set flag to hide all potential object childs.
void SetObject(TObject *obj)
Constructor with std::unique_ptr<RHolder> as argument.
std::unique_ptr< RHolder > fObject
std::string GetTitle() const override
Title of TObject.
virtual const TObject * CheckObject() const
Check if object still exists.
std::unique_ptr< RLevelIter > GetChildsIter() override
Create iterator for childs elements if any.
bool IsObject(void *) override
Returns true if holding specified object.
EActionKind GetDefaultAction() const override
Provides default action which can be performed with the object.
std::string GetName() const override
Name of TObject.
bool IsFolder() const override
Returns true if object can have child elements.
bool IsHideChilds() const
Is flag to hide all potential object childs set.
bool IsSame(TObject *obj) const
void SetName(const std::string &name)
virtual Long64_t GetSize() const
void ForgetObject() const
Forget object, use when it was deleted behind the scene.
std::unique_ptr< RItem > CreateItem() const override
Create item.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Collection abstract base class.
Mother of all ROOT objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...