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 |
|
inline |
|
pure virtual |
don't use !
|
pure virtual |
Returns the name without the namespace.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), config.CFG::__str__(), ddname(), VIDSelectorBase.VIDSelectorBase::initialize(), and Vispa.Views.PropertyView.Property::valueChanged().
|
pure virtual |
Return the namespace.
Referenced by ddname().
|
pure virtual |