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

Representation of single item in the file browser.

Definition at line 26 of file RSysFileItem.hxx.

Public Member Functions

 RSysFileItem ()=default
 Default constructor.
 
 RSysFileItem (const std::string &_name, int _nchilds)
 
virtual ~RSysFileItem ()=default
 
bool Compare (const RItem *b, const std::string &method) const override
 
const std::string & GetGid () const
 
const std::string & GetType () const
 
const std::string & GetUid () const
 
bool IsFolder () const override
 
bool IsHidden () const override
 
void SetGid (const std::string &_gid)
 
void SetType (const std::string &_type)
 
void SetUid (const std::string &_uid)
 
- 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
 
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
 
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

std::string fgid
 group id
 
std::string ftype
 file attributes
 
std::string fuid
 user id
 
- 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 mtime
 modification time
 
std::string name
 item name
 
int nchilds {0}
 number of childs
 
std::string title
 item title
 

Private Attributes

int gid {0}
 ! file gid
 
bool isdir {false}
 ! true if directory
 
bool islink {false}
 ! true if symbolic link
 
long modtime {0}
 ! modification time
 
int64_t size {0}
 ! file size
 
int type {0}
 ! file type
 
int uid {0}
 ! file uid
 

Friends

class RSysDirLevelIter
 

#include <ROOT/Browsable/RSysFileItem.hxx>

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

Constructor & Destructor Documentation

◆ RSysFileItem() [1/2]

ROOT::Experimental::Browsable::RSysFileItem::RSysFileItem ( )
default

Default constructor.

◆ RSysFileItem() [2/2]

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

Definition at line 51 of file RSysFileItem.hxx.

◆ ~RSysFileItem()

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

Member Function Documentation

◆ Compare()

bool ROOT::Experimental::Browsable::RSysFileItem::Compare ( const RItem b,
const std::string &  method 
) const
inlineoverridevirtual

Reimplemented from ROOT::Experimental::Browsable::RItem.

Definition at line 76 of file RSysFileItem.hxx.

◆ GetGid()

const std::string & ROOT::Experimental::Browsable::RSysFileItem::GetGid ( ) const
inline

Definition at line 62 of file RSysFileItem.hxx.

◆ GetType()

const std::string & ROOT::Experimental::Browsable::RSysFileItem::GetType ( ) const
inline

Definition at line 60 of file RSysFileItem.hxx.

◆ GetUid()

const std::string & ROOT::Experimental::Browsable::RSysFileItem::GetUid ( ) const
inline

Definition at line 61 of file RSysFileItem.hxx.

◆ IsFolder()

bool ROOT::Experimental::Browsable::RSysFileItem::IsFolder ( ) const
inlineoverridevirtual

Reimplemented from ROOT::Experimental::Browsable::RItem.

Definition at line 66 of file RSysFileItem.hxx.

◆ IsHidden()

bool ROOT::Experimental::Browsable::RSysFileItem::IsHidden ( ) const
inlineoverridevirtual

Reimplemented from ROOT::Experimental::Browsable::RItem.

Definition at line 69 of file RSysFileItem.hxx.

◆ SetGid()

void ROOT::Experimental::Browsable::RSysFileItem::SetGid ( const std::string &  _gid)
inline

Definition at line 58 of file RSysFileItem.hxx.

◆ SetType()

void ROOT::Experimental::Browsable::RSysFileItem::SetType ( const std::string &  _type)
inline

Definition at line 56 of file RSysFileItem.hxx.

◆ SetUid()

void ROOT::Experimental::Browsable::RSysFileItem::SetUid ( const std::string &  _uid)
inline

Definition at line 57 of file RSysFileItem.hxx.

Friends And Related Symbol Documentation

◆ RSysDirLevelIter

friend class RSysDirLevelIter
friend

Definition at line 28 of file RSysFileItem.hxx.

Member Data Documentation

◆ fgid

std::string ROOT::Experimental::Browsable::RSysFileItem::fgid
protected

group id

Definition at line 44 of file RSysFileItem.hxx.

◆ ftype

std::string ROOT::Experimental::Browsable::RSysFileItem::ftype
protected

file attributes

Definition at line 42 of file RSysFileItem.hxx.

◆ fuid

std::string ROOT::Experimental::Browsable::RSysFileItem::fuid
protected

user id

Definition at line 43 of file RSysFileItem.hxx.

◆ gid

int ROOT::Experimental::Browsable::RSysFileItem::gid {0}
private

! file gid

Definition at line 34 of file RSysFileItem.hxx.

◆ isdir

bool ROOT::Experimental::Browsable::RSysFileItem::isdir {false}
private

! true if directory

Definition at line 36 of file RSysFileItem.hxx.

◆ islink

bool ROOT::Experimental::Browsable::RSysFileItem::islink {false}
private

! true if symbolic link

Definition at line 35 of file RSysFileItem.hxx.

◆ modtime

long ROOT::Experimental::Browsable::RSysFileItem::modtime {0}
private

! modification time

Definition at line 37 of file RSysFileItem.hxx.

◆ size

int64_t ROOT::Experimental::Browsable::RSysFileItem::size {0}
private

! file size

Definition at line 38 of file RSysFileItem.hxx.

◆ type

int ROOT::Experimental::Browsable::RSysFileItem::type {0}
private

! file type

Definition at line 32 of file RSysFileItem.hxx.

◆ uid

int ROOT::Experimental::Browsable::RSysFileItem::uid {0}
private

! file uid

Definition at line 33 of file RSysFileItem.hxx.

Libraries for ROOT::Experimental::Browsable::RSysFileItem:

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