Iterator over single level hierarchy like any array, keys list, ...
Definition at line 29 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::Browsable::RSysDirLevelIter, TDirectoryLevelIter, ROOT::Browsable::TGeoVolumeIter, TObjectLevelIter, and TCollectionIter.
Definition at line 40 of file RLevelIter.hxx.
|
virtual |
Create generic description item for RBrowser.
Reimplemented in RGroupIter, RFieldsIterator, ROOT::Browsable::RSysDirLevelIter, TDirectoryLevelIter, ROOT::Browsable::TGeoVolumeIter, TObjectLevelIter, and TCollectionIter.
Definition at line 46 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::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::Browsable::RSysDirLevelIter, TDirectoryLevelIter, ROOT::Browsable::TGeoVolumeIter, TObjectLevelIter, and TCollectionIter.
|
pure virtual |
Returns current entry name
Implemented in RGroupIter, RFieldsIterator, ROOT::Browsable::RSysDirLevelIter, TDirectoryLevelIter, ROOT::Browsable::TGeoVolumeIter, TObjectLevelIter, and TCollectionIter.
|
pure virtual |
Shift to next entry.
Implemented in RGroupIter, RFieldsIterator, ROOT::Browsable::RSysDirLevelIter, TDirectoryLevelIter, ROOT::Browsable::TGeoVolumeIter, TObjectLevelIter, and TCollectionIter.