DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | List of all members
dd4hep::PropertyInterface Class Referenceabstract

Property object as base class for all objects supporting properties. More...

#include <ComponentProperties.h>

Inheritance diagram for dd4hep::PropertyInterface:
dd4hep::PropertyConfigurable dd4hep::cond::ConditionsDataLoader dd4hep::cond::ConditionsManagerObject dd4hep::cond::ConditionsMultiLoader dd4hep::cond::ConditionsSnapshotRootLoader dd4hep::cond::ConditionsXmlLoader dd4hep::cond::Manager_Type1

Public Member Functions

virtual ~PropertyInterface ()=default
 Default destructor. More...
 
virtual PropertyManagerproperties ()=0
 Access to the properties of the object. More...
 
virtual const PropertyManagerproperties () const =0
 Access to the properties of the object. More...
 
virtual bool hasProperty (const std::string &name) const =0
 Check property for existence. More...
 
virtual Propertyproperty (const std::string &name)=0
 Access single property. More...
 

Detailed Description

Property object as base class for all objects supporting properties.

Note: This class cannot be saved to a ROOT file!

Author
M.Frank
Version
1.0

Definition at line 237 of file ComponentProperties.h.

Constructor & Destructor Documentation

◆ ~PropertyInterface()

virtual dd4hep::PropertyInterface::~PropertyInterface ( )
virtualdefault

Default destructor.

Member Function Documentation

◆ hasProperty()

virtual bool dd4hep::PropertyInterface::hasProperty ( const std::string &  name) const
pure virtual

Check property for existence.

Implemented in dd4hep::PropertyConfigurable.

◆ properties() [1/2]

virtual const PropertyManager& dd4hep::PropertyInterface::properties ( ) const
pure virtual

Access to the properties of the object.

Implemented in dd4hep::PropertyConfigurable.

◆ properties() [2/2]

virtual PropertyManager& dd4hep::PropertyInterface::properties ( )
pure virtual

Access to the properties of the object.

Implemented in dd4hep::PropertyConfigurable.

◆ property()

virtual Property& dd4hep::PropertyInterface::property ( const std::string &  name)
pure virtual

Access single property.

Implemented in dd4hep::PropertyConfigurable.


The documentation for this class was generated from the following file: