Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Browsable::TKeyItem Class Reference

Representation of single item in the file browser for object from TKey.

Definition at line 24 of file TKeyItem.hxx.

Public Member Functions

 TKeyItem ()=default
 
 TKeyItem (const std::string &_name, int _nchilds)
 
virtual ~TKeyItem ()=default
 
void SetClassName (const std::string &_className)
 
- Public Member Functions inherited from ROOT::Browsable::RItem
 RItem ()=default
 
 RItem (const std::string &_name, int _nchilds=0, const std::string &_icon="")
 
virtual ~RItem ()=default
 
virtual bool Compare (const RItem *b, const std::string &) const
 
const std::string & GetIcon () const
 
const std::string & GetMTime () const
 
const std::string & GetName () const
 
const std::string & GetSize () const
 
const std::string & GetTitle () const
 
virtual bool IsFolder () const
 
virtual bool IsHidden () const
 
void SetChecked (bool on=true)
 
void SetExpanded (bool on=true)
 
void SetIcon (const std::string &_icon)
 
void SetMTime (const std::string &_mtime)
 
void SetName (const std::string &_name)
 
void SetSize (const std::string &_size)
 
void SetSize (Long64_t _size)
 
void SetTitle (const std::string &_title)
 

Private Attributes

std::string className
 class name
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Browsable::RItem
bool checked {false}
 is checked, not yet used
 
bool expanded {false}
 is expanded
 
std::string fsize
 item size
 
std::string icon
 icon associated with item
 
std::string mtime
 modification time
 
std::string name
 item name
 
int nchilds {0}
 number of childs
 
std::string title
 item title
 

#include <ROOT/Browsable/TKeyItem.hxx>

Inheritance diagram for ROOT::Browsable::TKeyItem:
[legend]

Constructor & Destructor Documentation

◆ TKeyItem() [1/2]

ROOT::Browsable::TKeyItem::TKeyItem ( )
default

◆ TKeyItem() [2/2]

ROOT::Browsable::TKeyItem::TKeyItem ( const std::string &  _name,
int  _nchilds 
)
inline

Definition at line 31 of file TKeyItem.hxx.

◆ ~TKeyItem()

virtual ROOT::Browsable::TKeyItem::~TKeyItem ( )
virtualdefault

Member Function Documentation

◆ SetClassName()

void ROOT::Browsable::TKeyItem::SetClassName ( const std::string &  _className)
inline

Definition at line 36 of file TKeyItem.hxx.

Member Data Documentation

◆ className

std::string ROOT::Browsable::TKeyItem::className
private

class name

Definition at line 25 of file TKeyItem.hxx.

Libraries for ROOT::Browsable::TKeyItem:

The documentation for this class was generated from the following file: