3 #include "TEveElement.h"
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;
66 TNamed* named = dynamic_cast<TNamed*>(element);
67 if (named && !
regexp.MatchB(named->GetName()))