Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::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 27 of file TObjectItem.hxx.

Public Member Functions

 TObjectItem ()=default
 
 TObjectItem (const std::string &_name, int _nchilds)
 
virtual ~TObjectItem ()=default
 
const std::string & GetClassName () const
 
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/TObjectItem.hxx>

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

Constructor & Destructor Documentation

◆ TObjectItem() [1/2]

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

◆ TObjectItem() [2/2]

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

Definition at line 33 of file TObjectItem.hxx.

◆ ~TObjectItem()

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

Member Function Documentation

◆ GetClassName()

const std::string & ROOT::Browsable::TObjectItem::GetClassName ( ) const
inline

Definition at line 39 of file TObjectItem.hxx.

◆ SetClassName()

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

Definition at line 38 of file TObjectItem.hxx.

Member Data Documentation

◆ className

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

class name

Definition at line 28 of file TObjectItem.hxx.

Libraries for ROOT::Browsable::TObjectItem:

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