9#ifndef ROOT7_Browsable_RWrapper
10#define ROOT7_Browsable_RWrapper
16namespace Experimental {
29 std::shared_ptr<RElement>
fElem;
49 std::string
GetContent(
const std::string &kind =
"text")
override {
return fElem->GetContent(kind); }
Basic element of browsable hierarchy.
EActionKind
Possible actions on double-click.
Wrapper for other element - to provide different name.
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.
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.
std::string GetContent(const std::string &kind="text") override
Returns element content, depends from kind.
std::shared_ptr< RElement > fElem
bool IsCapable(EActionKind action) const override
Check if want to perform action.
virtual ~RWrapper()=default
std::unique_ptr< RHolder > GetObject() override
Access object.
RWrapper(const std::string &name, std::shared_ptr< RElement > elem)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...