DDNameInterface provides a common interface to DDD entities. More...
#include <DDName.h>
Public Member Functions | |
DDName | ddname () const |
Return the DDName. | |
virtual int | id () const =0 |
don't use ! | |
virtual const std::string & | name () const =0 |
Returns the name without the namespace. | |
virtual const std::string & | ns () const =0 |
Return the namespace. | |
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.
virtual DDNameInterface::~DDNameInterface | ( | ) | [inline, virtual] |
DDName DDNameInterface::ddname | ( | ) | const [inline] |
virtual int DDNameInterface::id | ( | ) | const [pure virtual] |
don't use !
virtual const std::string& DDNameInterface::name | ( | ) | const [pure virtual] |
Returns the name without the namespace.
Referenced by ddname().
virtual const std::string& DDNameInterface::ns | ( | ) | const [pure virtual] |
Return the namespace.
Referenced by ddname().
virtual DDNameInterface::operator bool | ( | ) | const [pure virtual] |