#include <TEveElementIter.h>
|
std::vector< TEveElement * > | elements |
|
std::vector< TEveElement * >::iterator | iter |
|
TPRegexp | regexp |
|
Definition at line 15 of file TEveElementIter.h.
◆ TEveElementIter()
TEveElementIter::TEveElementIter |
( |
TEveElement * |
element, |
|
|
const char * |
regular_expression = nullptr |
|
) |
| |
Definition at line 7 of file TEveElementIter.cc.
8 if (regular_expression)
9 regexp = TPRegexp(regular_expression);
10 std::stack<std::pair<TEveElement*, TEveElement::List_i> >
parents;
11 parents.push(std::pair<TEveElement*, TEveElement::List_i>(element, element->BeginChildren()));
13 unsigned int index = 0;
14 unsigned int indexLimit = 1000000;
26 if ((*
parents.top().second)->NumChildren() > 0) {
27 parents.push(std::pair<TEveElement*, TEveElement::List_i>(*(
parents.top().second),
28 (*
parents.top().second)->BeginChildren()));
36 if (
index >= indexLimit) {
38 <<
"You either have a tree with loops or navigation logic is broken." << std::endl;
References addElement(), elements, fwLog, iter, fwlog::kError, parents, and regexp.
◆ addElement()
void TEveElementIter::addElement |
( |
TEveElement * |
element | ) |
|
|
private |
◆ current()
TEveElement * TEveElementIter::current |
( |
| ) |
|
◆ next()
TEveElement * TEveElementIter::next |
( |
void |
| ) |
|
◆ reset()
TEveElement * TEveElementIter::reset |
( |
void |
| ) |
|
◆ size()
unsigned int TEveElementIter::size |
( |
void |
| ) |
|
|
inline |
◆ elements
std::vector<TEveElement*> TEveElementIter::elements |
|
private |
◆ iter
std::vector<TEveElement*>::iterator TEveElementIter::iter |
|
private |
◆ regexp
TPRegexp TEveElementIter::regexp |
|
private |