![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Helper class to handle strings of the format "type/name". More...
#include <Geant4Action.h>
Public Member Functions | |
| TypeName ()=default | |
| Default constructor. More... | |
| TypeName (const TypeName ©)=default | |
| Copy constructor. More... | |
| TypeName (const std::pair< std::string, std::string > &c) | |
| Copy constructor from pair. More... | |
| TypeName (const std::string &typ, const std::string &nam) | |
| Initializing constructor. More... | |
| TypeName & | operator= (const TypeName ©)=default |
| Assignment operator. More... | |
Static Public Member Functions | |
| static TypeName | split (const std::string &type_name) |
| Split string pair according to default delimiter ('/') More... | |
| static TypeName | split (const std::string &type_name, const std::string &delim) |
| Split string pair according to custom delimiter. More... | |
Public Attributes | |
| std::string | first |
| std::string | second |
Helper class to handle strings of the format "type/name".
Definition at line 82 of file Geant4Action.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
inline |
Copy constructor from pair.
Definition at line 91 of file Geant4Action.h.
|
inline |
Initializing constructor.
Definition at line 94 of file Geant4Action.h.
|
static |
Split string pair according to default delimiter ('/')
Definition at line 40 of file Geant4Action.cpp.
|
static |
Split string pair according to custom delimiter.
Definition at line 30 of file Geant4Action.cpp.
| std::string dd4hep::sim::TypeName::first |
Definition at line 84 of file Geant4Action.h.
| std::string dd4hep::sim::TypeName::second |
Definition at line 85 of file Geant4Action.h.
1.8.18