|
DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Go to the documentation of this file.
21 #ifndef DD4HEP_EXTENSIONENTRY_H
22 #define DD4HEP_EXTENSIONENTRY_H
54 virtual void*
copy(
void*)
const = 0;
60 virtual unsigned long long int hash64()
const = 0;
98 virtual void*
object()
const override
104 virtual unsigned long long int hash64()
const override
105 {
return detail::typeHash64<Q>(); }
149 virtual unsigned long long int hash64()
const override
150 {
return detail::typeHash64<Q>(); }
184 virtual void*
copy(
void*)
const override {
return new T(*
ptr); }
194 virtual unsigned long long int hash64()
const override
195 {
return detail::typeHash64<Q>(); }
199 #endif // DD4HEP_EXTENSIONENTRY_H
Definition of the extension entry interface class.
virtual ExtensionEntry * clone(void *arg) const override
Virtual entry clone function.
virtual void * object() const override
Virtual object accessor.
virtual void * object() const override
Virtual object accessor.
virtual ~SimpleExtension()=default
Default destructor.
virtual void destruct() const =0
Virtual object destructor.
CopyDeleteExtension(const CopyDeleteExtension ©)=default
Copy constructor.
DeleteExtension(const DeleteExtension ©)=default
Copy constructor.
SimpleExtension(const SimpleExtension ©)=default
Copy constructor.
virtual void * copy(void *) const override
Virtual object copy operator.
Implementation class for the object extension mechanism.
virtual unsigned long long int hash64() const override
Hash value.
virtual ExtensionEntry * clone(void *arg) const =0
Virtual entry clone function.
Implementation class for the object extension mechanism.
virtual void destruct() const override
Virtual object destructor. Function may still be called without side-effects.
virtual ~ExtensionEntry()=default
Default destructor.
void invalidCall(const char *tag) const
Callback on invalid call invokation.
virtual ExtensionEntry * clone(void *arg) const override
Virtual entry clone function.
virtual unsigned long long int hash64() const override
Hash value.
DeleteExtension(T *p)
Initializing constructor.
Implementation class for the object extension mechanism.
virtual void * object() const =0
Virtual object accessor.
virtual ~CopyDeleteExtension()=default
Default destructor.
ExtensionEntry(const ExtensionEntry ©)=default
Copy constructor.
CopyDeleteExtension & operator=(const CopyDeleteExtension ©)=default
Assignment operator.
virtual void * copy(void *) const =0
Virtual object copy operator.
DeleteExtension & operator=(const DeleteExtension ©)=default
Assignment operator.
SimpleExtension & operator=(const SimpleExtension ©)=default
Assignment operator.
virtual void destruct() const override
Virtual object destructor.
virtual ~DeleteExtension()=default
Default destructor.
ExtensionEntry()=default
Default constructor.
SimpleExtension(T *p)
Initializing constructor.
virtual void * object() const override
Virtual object accessor.
Namespace for the AIDA detector description toolkit.
CopyDeleteExtension()=delete
Default constructor.
virtual unsigned long long int hash64() const override
Hash value.
CopyDeleteExtension(T *p)
Initializing constructor.
virtual void * copy(void *) const override
Virtual object copy operator.
virtual ExtensionEntry * clone(void *) const override
Virtual entry clone function.
SimpleExtension()=delete
Default constructor.
virtual void * copy(void *) const override
Virtual object copy operator.
DeleteExtension()=delete
Default constructor.
virtual void destruct() const override
Virtual object destructor.
virtual unsigned long long int hash64() const =0
Hash value.