9#ifndef ROOT7_Browsable_RWrapper
10#define ROOT7_Browsable_RWrapper
28 std::shared_ptr<RElement>
fElem;
48 std::string
GetContent(
const std::string &kind =
"text")
override {
return fElem->GetContent(kind); }
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.
Wrapper for other element - to provide different name.
RWrapper(const std::string &name, std::shared_ptr< RElement > elem)
bool IsCapable(EActionKind action) const override
Check if want to perform action.
std::unique_ptr< RHolder > GetObject() override
Access object.
std::shared_ptr< RElement > fElem
std::string GetTitle() const override
Title of element (optional)
bool IsExpandByDefault() const override
Should item representing element be expand by default.
std::string GetName() const override
Name of element, must be provided in derived classes.
void SetExpandByDefault(bool on=true)
std::unique_ptr< RLevelIter > GetChildsIter() override
Create iterator for childs elements if any.
EActionKind GetDefaultAction() const override
Get default action.
virtual ~RWrapper()=default
std::string GetContent(const std::string &kind="text") override
Returns element content, depends from kind.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.