DDNameInterface provides a common interface to DDD entities. More...
#include <DDName.h>
Public Member Functions | |
DDName | ddname () const |
Return the DDName. More... | |
virtual int | id () const =0 |
don't use ! More... | |
virtual const std::string & | name () const =0 |
Returns the name without the namespace. More... | |
virtual const std::string & | ns () const =0 |
Return the namespace. More... | |
virtual | operator bool () const =0 |
virtual | ~DDNameInterface () |
DDNameInterface provides a common interface to DDD entities.
DDLogicalPart, DDMaterial, DDSolids, ... all are uniquely identified by their class and the value of their associated DDName. DDNameInterface provides read-access to their DDName.
|
inlinevirtual |
Definition at line 75 of file DDName.h.
References DDName::name(), DDName::ns(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Return the DDName.
Definition at line 84 of file DDName.h.
References electrons_cff::bool, DDName::DDName(), DDName::id(), gen::n, DDName::name(), DDName::ns(), and operator<<().
|
pure virtual |
don't use !
|
pure virtual |
Returns the name without the namespace.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
pure virtual |
Return the namespace.
|
pure virtual |