ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHNodeIterator.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHNodeIterator.h
1
#ifndef PHOOL_PHNODEITERATOR_H
2
#define PHOOL_PHNODEITERATOR_H
3
4
// Declaration of class PHNodeIterator
5
// Purpose: iterator to navigate a node tree
6
// Author: Matthias Messer
7
8
//#include "PHCompositeNode.h"
9
#include "
PHPointerList.h
"
10
11
#include <string>
12
13
class
PHCompositeNode
;
14
class
PHNode
;
15
class
PHNodeOperation
;
16
17
class
PHNodeIterator
18
{
19
public
:
20
explicit
PHNodeIterator
(
PHCompositeNode
*);
21
virtual
~PHNodeIterator
() {}
22
PHNodeIterator
();
23
24
public
:
25
void
print
();
26
PHPointerList<PHNode>
&
ls
();
27
PHNode
*
findFirst
(
const
std::string&,
const
std::string&);
28
PHNode
*
findFirst
(
const
std::string&);
29
bool
cd
(
const
std::string& pathString =
""
);
30
bool
addNode
(
PHNode
*);
31
void
forEach
(
PHNodeOperation
&);
32
void
for_each
(
PHNodeOperation
&);
33
PHCompositeNode
*
get_currentNode
()
const
{
return
currentNode
; }
34
35
protected
:
36
PHCompositeNode
*
currentNode
;
37
PHPointerList<PHNode>
subNodeList
;
38
};
39
40
#endif
coresoftware
blob
master
offline
framework
phool
PHNodeIterator.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:34
using
1.8.2 with
ECCE GitHub integration