DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Functions
dd4hep::dd Namespace Reference

Functions

bool accepted (std::vector< std::regex > const &, std::string_view)
 
bool accepted (const Filter *, std::string_view)
 
bool isRegex (std::string_view)
 
bool hasNamespace (std::string_view)
 
bool isMatch (std::string_view, std::string_view)
 
bool compareEqual (std::string_view, std::string_view)
 
bool compareEqual (std::string_view, std::regex)
 
bool compareEqualName (std::string_view, std::string_view)
 
bool compareEqualCopyNumber (std::string_view, int)
 
std::string_view realTopName (std::string_view)
 
std::vector< std::string_view > split (std::string_view, const char *)
 
std::string_view noNamespace (std::string_view)
 

Function Documentation

◆ accepted() [1/2]

bool dd4hep::dd::accepted ( const Filter filter,
std::string_view  name 
)

Definition at line 64 of file Filter.cpp.

◆ accepted() [2/2]

bool dd4hep::dd::accepted ( std::vector< std::regex > const &  keys,
std::string_view  node 
)

Definition at line 59 of file Filter.cpp.

◆ compareEqual() [1/2]

bool dd4hep::dd::compareEqual ( std::string_view  node,
std::regex  pattern 
)

Definition at line 39 of file Filter.cpp.

◆ compareEqual() [2/2]

bool dd4hep::dd::compareEqual ( std::string_view  node,
std::string_view  name 
)

Definition at line 37 of file Filter.cpp.

◆ compareEqualCopyNumber()

bool dd4hep::dd::compareEqualCopyNumber ( std::string_view  name,
int  copy 
)

Definition at line 48 of file Filter.cpp.

◆ compareEqualName()

bool dd4hep::dd::compareEqualName ( std::string_view  selection,
std::string_view  name 
)

Definition at line 43 of file Filter.cpp.

◆ hasNamespace()

bool dd4hep::dd::hasNamespace ( std::string_view  input)

Definition at line 83 of file Filter.cpp.

◆ isMatch()

bool dd4hep::dd::isMatch ( std::string_view  node,
std::string_view  name 
)

Definition at line 28 of file Filter.cpp.

◆ isRegex()

bool dd4hep::dd::isRegex ( std::string_view  input)

Definition at line 79 of file Filter.cpp.

◆ noNamespace()

std::string_view dd4hep::dd::noNamespace ( std::string_view  input)

Definition at line 111 of file Filter.cpp.

◆ realTopName()

std::string_view dd4hep::dd::realTopName ( std::string_view  input)

Definition at line 87 of file Filter.cpp.

◆ split()

std::vector< std::string_view > dd4hep::dd::split ( std::string_view  str,
const char *  delims 
)

Definition at line 94 of file Filter.cpp.