All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
geo::CollectPathsByName Struct Reference

Public Member Functions

 CollectPathsByName (std::set< std::string > const &names)
 
void operator() (ROOTGeoNodeForwardIterator const &iter)
 If the name of the node matches, records the node full path. More...
 

Public Attributes

std::vector< std::vector
< TGeoNode const * > > 
paths
 

Protected Attributes

NodeNameMatcherClass matcher
 

Detailed Description

Definition at line 713 of file GeometryCore.cxx.

Constructor & Destructor Documentation

geo::CollectPathsByName::CollectPathsByName ( std::set< std::string > const &  names)
inline

Definition at line 716 of file GeometryCore.cxx.

716 : matcher(names) {}
NodeNameMatcherClass matcher

Member Function Documentation

void geo::CollectPathsByName::operator() ( ROOTGeoNodeForwardIterator const &  iter)
inline

If the name of the node matches, records the node full path.

Definition at line 719 of file GeometryCore.cxx.

720  { if (matcher(**iter)) paths.push_back(iter.get_path()); }
std::vector< std::vector< TGeoNode const * > > paths
NodeNameMatcherClass matcher

Member Data Documentation

NodeNameMatcherClass geo::CollectPathsByName::matcher
protected

Definition at line 723 of file GeometryCore.cxx.

std::vector<std::vector<TGeoNode const*> > geo::CollectPathsByName::paths

Definition at line 714 of file GeometryCore.cxx.


The documentation for this struct was generated from the following file: