Logo ROOT  
Reference Guide
RGroupIter Class Reference

Definition at line 18 of file RGroup.cxx.

Public Member Functions

 RGroupIter (RGroup &comp)
 
virtual ~RGroupIter ()=default
 
bool CanItemHaveChilds () const override
 Returns true if item can have childs. More...
 
std::unique_ptr< RItemCreateItem () override
 Create generic description item for RBrowser. More...
 
bool Find (const std::string &name, int indx=-1) override
 Find item with specified name, use item MatchName() functionality. More...
 
std::shared_ptr< RElementGetElement () override
 Returns full information for current element. More...
 
std::string GetItemName () const override
 Returns current element name
More...
 
bool Next () override
 Shift to next element. More...
 
- Public Member Functions inherited from ROOT::Experimental::Browsable::RLevelIter
virtual ~RLevelIter ()=default
 
virtual bool CanItemHaveChilds () const
 Returns true if current item can have childs. More...
 
virtual std::unique_ptr< RItemCreateItem ()
 Create generic description item for RBrowser. More...
 
virtual bool Find (const std::string &name, int indx=-1)
 Find item with specified name Default implementation, should work for all If index specified, not only name but also index should match. More...
 
virtual std::shared_ptr< RElementGetElement ()=0
 Create RElement for current entry - may take much time to load object or open file. More...
 
virtual std::string GetItemName () const =0
 Returns current entry name
More...
 
virtual bool Next ()=0
 Shift to next entry. More...
 

Private Attributes

RGroupfComp
 
int fIndx {-1}
 
Inheritance diagram for RGroupIter:
[legend]

Constructor & Destructor Documentation

◆ RGroupIter()

RGroupIter::RGroupIter ( RGroup comp)
inlineexplicit

Definition at line 24 of file RGroup.cxx.

◆ ~RGroupIter()

virtual RGroupIter::~RGroupIter ( )
virtualdefault

Member Function Documentation

◆ CanItemHaveChilds()

bool RGroupIter::CanItemHaveChilds ( ) const
inlineoverridevirtual

Returns true if item can have childs.

Reimplemented from ROOT::Experimental::Browsable::RLevelIter.

Definition at line 34 of file RGroup.cxx.

◆ CreateItem()

std::unique_ptr< RItem > RGroupIter::CreateItem ( )
inlineoverridevirtual

Create generic description item for RBrowser.

Reimplemented from ROOT::Experimental::Browsable::RLevelIter.

Definition at line 59 of file RGroup.cxx.

◆ Find()

bool RGroupIter::Find ( const std::string &  name,
int  indx = -1 
)
inlineoverridevirtual

Find item with specified name, use item MatchName() functionality.

Reimplemented from ROOT::Experimental::Browsable::RLevelIter.

Definition at line 40 of file RGroup.cxx.

◆ GetElement()

std::shared_ptr< RElement > RGroupIter::GetElement ( )
inlineoverridevirtual

Returns full information for current element.

Implements ROOT::Experimental::Browsable::RLevelIter.

Definition at line 37 of file RGroup.cxx.

◆ GetItemName()

std::string RGroupIter::GetItemName ( ) const
inlineoverridevirtual

Returns current element name

Implements ROOT::Experimental::Browsable::RLevelIter.

Definition at line 31 of file RGroup.cxx.

◆ Next()

bool RGroupIter::Next ( )
inlineoverridevirtual

Shift to next element.

Implements ROOT::Experimental::Browsable::RLevelIter.

Definition at line 28 of file RGroup.cxx.

Member Data Documentation

◆ fComp

RGroup& RGroupIter::fComp
private

Definition at line 20 of file RGroup.cxx.

◆ fIndx

int RGroupIter::fIndx {-1}
private

Definition at line 19 of file RGroup.cxx.


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