![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Property object as base class for all objects supporting properties. More...
#include <ComponentProperties.h>
Public Member Functions | |
| PropertyConfigurable () | |
| Standard constructor. More... | |
| virtual | ~PropertyConfigurable () |
| Default destructor. More... | |
| virtual PropertyManager & | properties () override |
| Access to the properties of the object. More... | |
| virtual const PropertyManager & | properties () const override |
| Access to the properties of the object. More... | |
| virtual bool | hasProperty (const std::string &name) const override |
| Check property for existence. More... | |
| virtual Property & | property (const std::string &name) override |
| Access single property. More... | |
| template<typename T > | |
| void | declareProperty (const std::string &nam, T &val) |
| Declare property. More... | |
| template<typename T > | |
| void | declareProperty (const char *nam, T &val) |
| Declare property. More... | |
Public Member Functions inherited from dd4hep::PropertyInterface | |
| virtual | ~PropertyInterface ()=default |
| Default destructor. More... | |
Protected Attributes | |
| PropertyManager | m_properties |
| Property pool. More... | |
Property object as base class for all objects supporting properties.
Note: This class cannot be saved to a ROOT file!
Definition at line 255 of file ComponentProperties.h.
| PropertyConfigurable::PropertyConfigurable | ( | ) |
Standard constructor.
Standard PropertyConfigurable constructor.
Definition at line 167 of file ComponentProperties.cpp.
|
virtual |
Default destructor.
Default PropertyConfigurable destructor.
Definition at line 171 of file ComponentProperties.cpp.
| void dd4hep::PropertyConfigurable::declareProperty | ( | const char * | nam, |
| T & | val | ||
| ) |
Declare property.
Definition at line 291 of file ComponentProperties.h.
| void dd4hep::PropertyConfigurable::declareProperty | ( | const std::string & | nam, |
| T & | val | ||
| ) |
Declare property.
Definition at line 285 of file ComponentProperties.h.
|
overridevirtual |
Check property for existence.
Implements dd4hep::PropertyInterface.
Definition at line 175 of file ComponentProperties.cpp.
|
inlineoverridevirtual |
Access to the properties of the object.
Implements dd4hep::PropertyInterface.
Definition at line 270 of file ComponentProperties.h.
|
inlineoverridevirtual |
Access to the properties of the object.
Implements dd4hep::PropertyInterface.
Definition at line 266 of file ComponentProperties.h.
|
overridevirtual |
Access single property.
Implements dd4hep::PropertyInterface.
Definition at line 180 of file ComponentProperties.cpp.
|
protected |
Property pool.
Definition at line 258 of file ComponentProperties.h.
1.8.18