DD4hep
1.30.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 balue. More... | |
template<typename TYPE > | |
Property & | operator= (const TYPE &val) |
Assignment operator / set new balue. 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 140 of file ComponentProperties.h.
|
inline |
Default constructor.
Definition at line 144 of file ComponentProperties.h.
|
default |
Copy constructor.
|
inline |
Access grammar object.
Definition at line 154 of file ComponentProperties.h.
|
default |
Assignment operator.
|
inline |
Assignment operator.
Definition at line 150 of file ComponentProperties.h.
|
inline |
Equality operator.
Definition at line 152 of file ComponentProperties.h.
|
inline |
Set value of this property with data conversion.
Definition at line 163 of file ComponentProperties.h.
|
inline |
Conversion to string value.
Definition at line 156 of file ComponentProperties.h.
Retrieve value with data conversion.
Definition at line 158 of file ComponentProperties.h.
|
inline |
Retrieve value from stack with data conversion (large values e.g. vectors etc.)
Definition at line 161 of file ComponentProperties.h.
TYPE dd4hep::PropertyValue< TYPE >::data {} |
Definition at line 142 of file ComponentProperties.h.