9#ifndef ROOT7_Browsable_RItem
10#define ROOT7_Browsable_RItem
16namespace Experimental {
36 RItem(
const std::string &_name,
int _nchilds = 0,
const std::string &_icon =
"") :
name(_name),
nchilds(_nchilds),
icon(_icon) {}
45 virtual bool IsHidden()
const {
return false; }
61 fsize = std::to_string(_ksize/1024) +
"." + std::to_string((_ksize%1024)/103) +
"M";
63 fsize = std::to_string(_ksize) +
"." + std::to_string((_size%1024)/103) +
"K";
66 fsize = std::to_string(_size);
Representation of single item in the browser.
std::string name
item name
virtual bool IsHidden() const
const std::string & GetIcon() const
int nchilds
number of childs
void SetName(const std::string &_name)
RItem(const std::string &_name, int _nchilds=0, const std::string &_icon="")
bool checked
is checked, not yet used
virtual bool Compare(const RItem *b, const std::string &) const
std::string fsize
item size
std::string icon
icon associated with item
void SetSize(Long64_t _size)
std::string title
item title
void SetTitle(const std::string &_title)
const std::string & GetName() const
virtual bool IsFolder() const
void SetSize(const std::string &_size)
const std::string & GetSize() const
void SetExpanded(bool on=true)
const std::string & GetTitle() const
void SetIcon(const std::string &_icon)
void SetChecked(bool on=true)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...