![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
Concrete template instantiation of a combined property value pair. More...
#include <ComponentProperties.h>
Public Member Functions | |
| PropertyValue () | |
| Default constructor. More... | |
| PropertyValue (const PropertyValue &c)=default | |
| Copy constructor. More... | |
| PropertyValue & | operator= (const PropertyValue &c)=default |
| Assignment operator. More... | |
| PropertyValue & | operator= (const TYPE &val) |
| Assignment operator. More... | |
| bool | operator== (const TYPE &val) const |
| Equality operator. More... | |
| const BasicGrammar & | grammar () const |
| Access grammar object. More... | |
| std::string | str () const |
| Conversion to string value. More... | |
| template<typename T > | |
| T | value () const |
| Retrieve value with data conversion. More... | |
| template<typename T > | |
| void | value (TYPE &val) const |
| Retrieve value from stack with data conversion (large values e.g. vectors etc.) More... | |
| template<typename T > | |
| void | set (const T &val) |
| Set value of this property with data conversion. More... | |
Public Attributes | |
| TYPE | data {} |
Additional Inherited Members | |
Private Member Functions inherited from dd4hep::Property | |
| Property ()=default | |
| Default constructor. More... | |
| Property (const Property &p)=default | |
| Copy constructor. More... | |
| template<typename TYPE > | |
| Property (TYPE &val) | |
| User constructor. More... | |
| void * | ptr () const |
| Access void data pointer. More... | |
| std::string | type () const |
| Property type name. More... | |
| const BasicGrammar & | grammar () const |
| Access grammar object. More... | |
| std::string | str () const |
| Conversion to string value. More... | |
| Property & | str (const std::string &input) |
| Conversion from string value. More... | |
| const Property & | str (const std::string &input) const |
| Conversion from string value. More... | |
| Property & | operator= (const Property &p)=default |
| Assignment operator. More... | |
| Property & | operator= (const char *val) |
| Assignment operator / set new value. More... | |
| template<typename TYPE > | |
| Property & | operator= (const TYPE &val) |
| Assignment operator / set new value. More... | |
| template<typename TYPE > | |
| TYPE | value () const |
| Retrieve value. More... | |
| template<typename TYPE > | |
| void | value (TYPE &value) const |
| Retrieve value from stack (large values e.g. vectors etc.) More... | |
| template<typename TYPE > | |
| void | set (const TYPE &value) |
| Set value of this property. More... | |
Static Private Member Functions inherited from dd4hep::Property | |
| static std::string | type (const Property &proptery) |
| Property type name. More... | |
| static std::string | type (const std::type_info &proptery) |
| Property type name. More... | |
Private Attributes inherited from dd4hep::Property | |
| void * | m_par { nullptr } |
| Pointer to the data location. More... | |
| const BasicGrammar * | m_hdl { nullptr } |
| Reference to the grammar of this property (extended type description) More... | |
Concrete template instantiation of a combined property value pair.
Note: This class cannot be saved to a ROOT file!
Definition at line 137 of file ComponentProperties.h.
|
inline |
Default constructor.
Definition at line 141 of file ComponentProperties.h.
|
default |
Copy constructor.
|
inline |
Access grammar object.
Definition at line 151 of file ComponentProperties.h.
|
default |
Assignment operator.
|
inline |
Assignment operator.
Definition at line 147 of file ComponentProperties.h.
|
inline |
Equality operator.
Definition at line 149 of file ComponentProperties.h.
|
inline |
Set value of this property with data conversion.
Definition at line 160 of file ComponentProperties.h.
|
inline |
Conversion to string value.
Definition at line 153 of file ComponentProperties.h.
Retrieve value with data conversion.
Definition at line 155 of file ComponentProperties.h.
|
inline |
Retrieve value from stack with data conversion (large values e.g. vectors etc.)
Definition at line 158 of file ComponentProperties.h.
| TYPE dd4hep::PropertyValue< TYPE >::data {} |
Definition at line 139 of file ComponentProperties.h.
1.8.18