![]() |
VR-Forces 5.0.3 Developer's Guide
|
Public Member Functions | |
| virtual | ~DtUniqueNameManager () |
| virtual void | addUniqueNameElement (DtUiUniqueNameElement *element) |
| virtual void | removeUniqueNameElement (DtUiUniqueNameElement *element) |
| virtual DtString | getNextUniqueName (const DtString &preferredName, const DtUiUniqueNameElement *element) const |
| virtual bool | isNameUnique (const DtString &preferredName, const DtUiUniqueNameElement *element) const |
Static Public Member Functions | |
| static DtUniqueNameManager * | instance () |
Static Public Attributes | |
| static const DtString | AnyPartCategory |
Protected Types | |
| typedef std::list < DtUiUniqueNameElement * > | DtUniqueNameElementList |
| typedef std::map< DtString, DtUniqueNameElementList > | DtUniqueNameElementsByCategory |
Protected Attributes | |
| DtUniqueNameElementsByCategory | myManagedElements |
Private Member Functions | |
| DtUniqueNameManager () | |
| DtUniqueNameManager (const DtUniqueNameManager &orig) | |
| DtUniqueNameManager & | operator= (const DtUniqueNameManager &orig) |
|
protected |
|
protected |
|
virtual |
|
private |
|
private |
|
private |
|
static |
|
virtual |
Inform this manager about the addition of unique name elements.
|
virtual |
Inform this manager about the removal of unique name elements.
|
virtual |
Returns a string with an appended number to deconflict it from the names used by other elements in the same category.
|
virtual |
Returns true if the preferred element's current unique identifying name is unique for the specified element's category.
|
static |
|
protected |