DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Helper functor to select elements by name (using name member variable) More...
#include <Operators.h>
Public Member Functions | |
ByNameAttr (const std::string &nam) | |
Standard constructor. More... | |
ByNameAttr (const ByNameAttr ©) | |
Copy constructor. More... | |
bool | operator() (const T &entry) const |
Operator to select from object containers. More... | |
bool | operator() (const T *entry) const |
Operator to select from pointer containers. More... | |
Public Attributes | |
const std::string & | name |
Reference name. More... | |
Private Member Functions | |
template<typename Q > | |
ByNameAttr< T > & | operator= (const ByNameAttr< Q > &) |
Assignment operator. More... | |
Helper functor to select elements by name (using name member variable)
Definition at line 45 of file Operators.h.
|
inline |
Standard constructor.
Definition at line 53 of file Operators.h.
|
inline |
Copy constructor.
Definition at line 55 of file Operators.h.
|
inline |
Operator to select from object containers.
Definition at line 57 of file Operators.h.
|
inline |
Operator to select from pointer containers.
Definition at line 59 of file Operators.h.
|
inlineprivate |
Assignment operator.
Definition at line 48 of file Operators.h.
const std::string& dd4hep::ByNameAttr< T >::name |
Reference name.
Definition at line 51 of file Operators.h.