9#ifndef ROOT7_Browsable_RItem
10#define ROOT7_Browsable_RItem
36 RItem(
const std::string &_name,
int _nchilds = 0,
const std::string &_icon =
"") :
name(_name),
nchilds(_nchilds),
icon(_icon) {}
47 virtual bool IsHidden()
const {
return false; }
64 fsize = std::to_string(_ksize/1024) +
"." + std::to_string((_ksize%1024)/103) +
"M";
66 fsize = std::to_string(_ksize) +
"." + std::to_string((_size%1024)/103) +
"K";
69 fsize = std::to_string(_size);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void on
Representation of single item in the browser.
const std::string & GetMTime() const
int nchilds
number of childs
const std::string & GetIcon() const
virtual bool Compare(const RItem *b, const std::string &) const
virtual bool IsHidden() const
const std::string & GetSize() const
void SetSize(Long64_t _size)
RItem(const std::string &_name, int _nchilds=0, const std::string &_icon="")
void SetMTime(const std::string &_mtime)
void SetChecked(bool on=true)
bool checked
is checked, not yet used
void SetIcon(const std::string &_icon)
void SetTitle(const std::string &_title)
const std::string & GetTitle() const
virtual bool IsFolder() const
void SetName(const std::string &_name)
const std::string & GetName() const
std::string fsize
item size
void SetSize(const std::string &_size)
std::string mtime
modification time
std::string icon
icon associated with item
std::string name
item name
std::string title
item title
void SetExpanded(bool on=true)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.