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

Representation of an RNTuple item in the browser.

Author
Patryk Tymoteusz Pilichowski

Definition at line 23 of file RNTupleItem.hxx.

Public Types

enum  ECategory { kField , kVisualization }

Public Member Functions

 RNTupleItem ()=default
 RNTupleItem (const std::string &_name, int _nchilds=0, const std::string &_icon="", ECategory _category=kField)
virtual ~RNTupleItem ()=default
bool Compare (const RItem *b, const std::string &s) const override
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
bool IsField () const
virtual bool IsFolder () const
virtual bool IsHidden () const
bool IsVisualization () 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)

Protected Attributes

ECategory category {kField}
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/RNTupleItem.hxx>

Inheritance diagram for ROOT::Browsable::RNTupleItem:
ROOT::Browsable::RItem

Member Enumeration Documentation

◆ ECategory

Enumerator
kField 
kVisualization 

Definition at line 25 of file RNTupleItem.hxx.

Constructor & Destructor Documentation

◆ RNTupleItem() [1/2]

ROOT::Browsable::RNTupleItem::RNTupleItem ( )
default

◆ RNTupleItem() [2/2]

ROOT::Browsable::RNTupleItem::RNTupleItem ( const std::string & _name,
int _nchilds = 0,
const std::string & _icon = "",
ECategory _category = kField )
inline

Definition at line 31 of file RNTupleItem.hxx.

◆ ~RNTupleItem()

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

Member Function Documentation

◆ Compare()

bool ROOT::Browsable::RNTupleItem::Compare ( const RItem * b,
const std::string & s ) const
inlineoverridevirtual

Reimplemented from ROOT::Browsable::RItem.

Definition at line 41 of file RNTupleItem.hxx.

◆ GetIcon()

const std::string & ROOT::Browsable::RItem::GetIcon ( ) const
inlineinherited

Definition at line 41 of file RItem.hxx.

◆ GetMTime()

const std::string & ROOT::Browsable::RItem::GetMTime ( ) const
inlineinherited

Definition at line 44 of file RItem.hxx.

◆ GetName()

const std::string & ROOT::Browsable::RItem::GetName ( ) const
inlineinherited

Definition at line 40 of file RItem.hxx.

◆ GetSize()

const std::string & ROOT::Browsable::RItem::GetSize ( ) const
inlineinherited

Definition at line 43 of file RItem.hxx.

◆ GetTitle()

const std::string & ROOT::Browsable::RItem::GetTitle ( ) const
inlineinherited

Definition at line 42 of file RItem.hxx.

◆ IsField()

bool ROOT::Browsable::RNTupleItem::IsField ( ) const
inline

Definition at line 39 of file RNTupleItem.hxx.

◆ IsFolder()

virtual bool ROOT::Browsable::RItem::IsFolder ( ) const
inlinevirtualinherited

Reimplemented in ROOT::Browsable::RSysFileItem.

Definition at line 46 of file RItem.hxx.

◆ IsHidden()

virtual bool ROOT::Browsable::RItem::IsHidden ( ) const
inlinevirtualinherited

Reimplemented in ROOT::Browsable::RSysFileItem.

Definition at line 47 of file RItem.hxx.

◆ IsVisualization()

bool ROOT::Browsable::RNTupleItem::IsVisualization ( ) const
inline

Definition at line 38 of file RNTupleItem.hxx.

◆ SetChecked()

void ROOT::Browsable::RItem::SetChecked ( bool on = true)
inlineinherited

Definition at line 49 of file RItem.hxx.

◆ SetExpanded()

void ROOT::Browsable::RItem::SetExpanded ( bool on = true)
inlineinherited

Definition at line 50 of file RItem.hxx.

◆ SetIcon()

void ROOT::Browsable::RItem::SetIcon ( const std::string & _icon)
inlineinherited

Definition at line 54 of file RItem.hxx.

◆ SetMTime()

void ROOT::Browsable::RItem::SetMTime ( const std::string & _mtime)
inlineinherited

Definition at line 56 of file RItem.hxx.

◆ SetName()

void ROOT::Browsable::RItem::SetName ( const std::string & _name)
inlineinherited

Definition at line 52 of file RItem.hxx.

◆ SetSize() [1/2]

void ROOT::Browsable::RItem::SetSize ( const std::string & _size)
inlineinherited

Definition at line 55 of file RItem.hxx.

◆ SetSize() [2/2]

void ROOT::Browsable::RItem::SetSize ( Long64_t _size)
inlineinherited

Definition at line 58 of file RItem.hxx.

◆ SetTitle()

void ROOT::Browsable::RItem::SetTitle ( const std::string & _title)
inlineinherited

Definition at line 53 of file RItem.hxx.

Member Data Documentation

◆ category

ECategory ROOT::Browsable::RNTupleItem::category {kField}
protected

Definition at line 50 of file RNTupleItem.hxx.

◆ checked

bool ROOT::Browsable::RItem::checked {false}
protectedinherited

is checked, not yet used

Definition at line 31 of file RItem.hxx.

◆ expanded

bool ROOT::Browsable::RItem::expanded {false}
protectedinherited

is expanded

Definition at line 32 of file RItem.hxx.

◆ fsize

std::string ROOT::Browsable::RItem::fsize
protectedinherited

item size

Definition at line 29 of file RItem.hxx.

◆ icon

std::string ROOT::Browsable::RItem::icon
protectedinherited

icon associated with item

Definition at line 27 of file RItem.hxx.

◆ mtime

std::string ROOT::Browsable::RItem::mtime
protectedinherited

modification time

Definition at line 30 of file RItem.hxx.

◆ name

std::string ROOT::Browsable::RItem::name
protectedinherited

item name

Definition at line 25 of file RItem.hxx.

◆ nchilds

int ROOT::Browsable::RItem::nchilds {0}
protectedinherited

number of childs

Definition at line 26 of file RItem.hxx.

◆ title

std::string ROOT::Browsable::RItem::title
protectedinherited

item title

Definition at line 28 of file RItem.hxx.


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