DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Implementation of a named object. More...
#include <NamedObject.h>
Public Member Functions | |
NamedObject (const char *nam, const char *typ="") | |
Initializing constructor. More... | |
NamedObject (const std::string &nam) | |
Initializing constructor. More... | |
NamedObject (const std::string &nam, const std::string &typ) | |
Initializing constructor. More... | |
NamedObject ()=default | |
Standard constructor. More... | |
NamedObject (const NamedObject &c)=default | |
Copy constructor. More... | |
NamedObject (NamedObject &&c)=default | |
Move constructor. More... | |
virtual | ~NamedObject ()=default |
Default destructor. More... | |
NamedObject & | operator= (const NamedObject &c)=default |
Assignment operator. More... | |
NamedObject & | operator= (NamedObject &&c)=default |
Move assignment operator. More... | |
const char * | GetName () const |
Access name. More... | |
void | SetName (const char *nam) |
Set name (used by Handle) More... | |
void | SetTitle (const char *tit) |
Set Title (used by Handle) More... | |
const char * | GetTitle () const |
Get name (used by Handle) More... | |
Public Attributes | |
std::string | name |
The object name. More... | |
std::string | type |
The object type. More... | |
Implementation of a named object.
The data class behind named object handles.
Definition at line 30 of file NamedObject.h.
NamedObject::NamedObject | ( | const char * | nam, |
const char * | typ = "" |
||
) |
Initializing constructor.
Definition at line 34 of file NamedObject.cpp.
NamedObject::NamedObject | ( | const std::string & | nam | ) |
Initializing constructor.
Definition at line 40 of file NamedObject.cpp.
NamedObject::NamedObject | ( | const std::string & | nam, |
const std::string & | typ | ||
) |
Initializing constructor.
Definition at line 46 of file NamedObject.cpp.
|
default |
Standard constructor.
|
default |
Copy constructor.
|
default |
Move constructor.
|
virtualdefault |
Default destructor.
|
inline |
Access name.
Definition at line 58 of file NamedObject.h.
|
inline |
Get name (used by Handle)
Definition at line 70 of file NamedObject.h.
|
default |
Assignment operator.
|
default |
Move assignment operator.
|
inline |
Set name (used by Handle)
Definition at line 62 of file NamedObject.h.
|
inline |
Set Title (used by Handle)
Definition at line 66 of file NamedObject.h.
std::string dd4hep::NamedObject::name |
The object name.
Definition at line 33 of file NamedObject.h.
std::string dd4hep::NamedObject::type |
The object type.
Definition at line 35 of file NamedObject.h.