Iterator over single level hierarchy like any array, keys list, ...
Definition at line 30 of file RLevelIter.hxx.
Public Member Functions | |
virtual | ~RLevelIter ()=default |
virtual bool | CanItemHaveChilds () const |
Returns true if current item can have childs. | |
virtual std::unique_ptr< RItem > | CreateItem () |
Create generic description item for RBrowser. | |
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. | |
virtual std::shared_ptr< RElement > | GetElement ()=0 |
Create RElement for current entry - may take much time to load object or open file. | |
virtual std::string | GetItemName () const =0 |
Returns current entry name | |
virtual bool | Next ()=0 |
Shift to next entry. | |
#include <ROOT/Browsable/RLevelIter.hxx>
|
virtualdefault |
|
inlinevirtual |
Returns true if current item can have childs.
Reimplemented in RGroupIter, RFieldsIterator, ROOT::Experimental::Browsable::RSysDirLevelIter, TDirectoryLevelIter, TObjectLevelIter, and TCollectionIter.
Definition at line 41 of file RLevelIter.hxx.
|
virtual |
Create generic description item for RBrowser.
Reimplemented in RGroupIter, RFieldsIterator, ROOT::Experimental::Browsable::RSysDirLevelIter, TDirectoryLevelIter, TObjectLevelIter, and TCollectionIter.
Definition at line 42 of file RLevelIter.cxx.
Find item with specified name Default implementation, should work for all If index specified, not only name but also index should match.
Reimplemented in RGroupIter, TObjectLevelIter, and ROOT::Experimental::Browsable::RSysDirLevelIter.
Definition at line 21 of file RLevelIter.cxx.
|
pure virtual |
Create RElement for current entry - may take much time to load object or open file.
Implemented in RGroupIter, RFieldsIterator, ROOT::Experimental::Browsable::RSysDirLevelIter, TDirectoryLevelIter, TObjectLevelIter, and TCollectionIter.
|
pure virtual |
Returns current entry name
Implemented in RGroupIter, RFieldsIterator, ROOT::Experimental::Browsable::RSysDirLevelIter, TDirectoryLevelIter, TObjectLevelIter, and TCollectionIter.
|
pure virtual |
Shift to next entry.
Implemented in RGroupIter, RFieldsIterator, ROOT::Experimental::Browsable::RSysDirLevelIter, TDirectoryLevelIter, TObjectLevelIter, and TCollectionIter.