CMS 3D CMS Logo

List of all members | Public Member Functions
DDIsChildFtor Struct Reference

Public Member Functions

void operator() (char const *first, char const *last) const
 

Detailed Description

Definition at line 72 of file DDPartSelection.cc.

Member Function Documentation

◆ operator()()

void DDIsChildFtor::operator() ( char const *  first,
char const *  last 
) const
inline

Definition at line 73 of file DDPartSelection.cc.

73  {
75  if ((last - first) > 1)
76  sl.isChild_ = false;
77  if ((last - first) == 1)
78  sl.isChild_ = true;
79  //edm::LogInfo("DDPartSelection") << "DDIsChildFtor isChild=" << (last-first) << std::endl;
80  }

References dqmdumpme::first, DDI::Singleton< I >::instance(), DDSelLevelCollector::isChild_, and dqmdumpme::last.

dqmdumpme.first
first
Definition: dqmdumpme.py:55
dqmdumpme.last
last
Definition: dqmdumpme.py:56
DDI::Singleton::instance
static value_type & instance()
DDSelLevelCollector::isChild_
bool isChild_
Definition: DDPartSelection.cc:20
DDSelLevelCollector
Definition: DDPartSelection.cc:15