Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TCollectionIter Class Reference

Iterator over elements in TCollection.

Definition at line 148 of file TObjectElement.cxx.

Public Member Functions

 TCollectionIter (const TCollection *coll)
 
 TCollectionIter (const TFolder *f)
 
virtual ~TCollectionIter ()=default
 
bool CanItemHaveChilds () const override
 Check if item can be expanded.
 
std::unique_ptr< RItemCreateItem () override
 Create item for current TObject.
 
std::shared_ptr< RElementGetElement () override
 Returns full information for current element.
 
std::string GetItemName () const override
 Returns current entry name

 
bool Next () override
 Shift to next entry.
 
- Public Member Functions inherited from ROOT::Experimental::Browsable::RLevelIter
virtual ~RLevelIter ()=default
 
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.
 

Private Attributes

TIter fIter
 
Inheritance diagram for TCollectionIter:
[legend]

Constructor & Destructor Documentation

◆ TCollectionIter() [1/2]

TCollectionIter::TCollectionIter ( const TFolder f)
inlineexplicit

Definition at line 153 of file TObjectElement.cxx.

◆ TCollectionIter() [2/2]

TCollectionIter::TCollectionIter ( const TCollection coll)
inlineexplicit

Definition at line 155 of file TObjectElement.cxx.

◆ ~TCollectionIter()

virtual TCollectionIter::~TCollectionIter ( )
virtualdefault

Member Function Documentation

◆ CanItemHaveChilds()

bool TCollectionIter::CanItemHaveChilds ( ) const
inlineoverridevirtual

Check if item can be expanded.

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

Definition at line 176 of file TObjectElement.cxx.

◆ CreateItem()

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

Create item for current TObject.

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

Definition at line 185 of file TObjectElement.cxx.

◆ GetElement()

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

Returns full information for current element.

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

Definition at line 201 of file TObjectElement.cxx.

◆ GetItemName()

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

Returns current entry name

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

Definition at line 161 of file TObjectElement.cxx.

◆ Next()

bool TCollectionIter::Next ( )
inlineoverridevirtual

Shift to next entry.

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

Definition at line 159 of file TObjectElement.cxx.

Member Data Documentation

◆ fIter

TIter TCollectionIter::fIter
private

Definition at line 150 of file TObjectElement.cxx.

  • gui/browsable/src/TObjectElement.cxx