Iterating over nodes in the volume.
Definition at line 98 of file TGeoBrowseProvider.cxx.
Public Member Functions | |
TGeoVolumeIter (TGeoVolume *vol) | |
~TGeoVolumeIter () override=default | |
bool | CanItemHaveChilds () const override |
Returns true if current item can have childs. | |
std::unique_ptr< RItem > | CreateItem () override |
Returns full item information. | |
std::shared_ptr< RElement > | GetElement () 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::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 | |
TGeoNode * | fCurrent {nullptr} |
! current node | |
TGeoIterator | fIter |
! iterator | |
|
inlineexplicit |
Definition at line 103 of file TGeoBrowseProvider.cxx.
|
overridedefault |
|
inlineoverridevirtual |
Returns true if current item can have childs.
Reimplemented from ROOT::Browsable::RLevelIter.
Definition at line 118 of file TGeoBrowseProvider.cxx.
|
inlineoverridevirtual |
Returns full item information.
Reimplemented from ROOT::Browsable::RLevelIter.
Definition at line 130 of file TGeoBrowseProvider.cxx.
|
inlineoverridevirtual |
Returns full information for current element.
Implements ROOT::Browsable::RLevelIter.
Definition at line 124 of file TGeoBrowseProvider.cxx.
|
inlineoverridevirtual |
Returns current entry name
Implements ROOT::Browsable::RLevelIter.
Definition at line 116 of file TGeoBrowseProvider.cxx.
|
inlineoverridevirtual |
Shift to next entry.
Implements ROOT::Browsable::RLevelIter.
Definition at line 110 of file TGeoBrowseProvider.cxx.
|
private |
! current node
Definition at line 100 of file TGeoBrowseProvider.cxx.
|
private |
! iterator
Definition at line 99 of file TGeoBrowseProvider.cxx.