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

Representation of single item in the file browser for generic TObject object.

Author
Sergey Linev S.Lin.nosp@m.ev@g.nosp@m.si.de
Date
2019-10-19
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 26 of file TObjectItem.hxx.

Public Member Functions

 TObjectItem ()=default
 
 TObjectItem (const std::string &_name, int _nchilds)
 
virtual ~TObjectItem ()=default
 
void SetClassName (const std::string &_className)
 
- Public Member Functions inherited from ROOT::Experimental::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 & 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 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::Experimental::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 name
 item name
 
int nchilds {0}
 number of childs
 
std::string title
 item title
 

#include <ROOT/Browsable/TObjectItem.hxx>

Inheritance diagram for ROOT::Experimental::Browsable::TObjectItem:
[legend]

Constructor & Destructor Documentation

◆ TObjectItem() [1/2]

ROOT::Experimental::Browsable::TObjectItem::TObjectItem ( )
default

◆ TObjectItem() [2/2]

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

Definition at line 32 of file TObjectItem.hxx.

◆ ~TObjectItem()

virtual ROOT::Experimental::Browsable::TObjectItem::~TObjectItem ( )
virtualdefault

Member Function Documentation

◆ SetClassName()

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

Definition at line 37 of file TObjectItem.hxx.

Member Data Documentation

◆ className

std::string ROOT::Experimental::Browsable::TObjectItem::className
private

class name

Definition at line 27 of file TObjectItem.hxx.

Libraries for ROOT::Experimental::Browsable::TObjectItem:

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