|
SHAPER
9.15.0
|
Message that the object is renamed. More...

Public Member Functions | |
| MODELAPI_EXPORT | ModelAPI_ObjectRenamedMessage (const Events_ID theID, const void *theSender=0) |
| Creates an empty message. More... | |
| virtual MODELAPI_EXPORT | ~ModelAPI_ObjectRenamedMessage () |
| The virtual destructor. More... | |
| MODELAPI_EXPORT ObjectPtr | object () const |
| Returns an object. More... | |
| MODELAPI_EXPORT void | setObject (ObjectPtr theObject) |
| Sets an object. More... | |
| MODELAPI_EXPORT std::wstring | oldName () const |
| Returns an old name. More... | |
| MODELAPI_EXPORT void | setOldName (const std::wstring &theOldName) |
| Sets an old name. More... | |
| MODELAPI_EXPORT std::wstring | newName () const |
| Returns a new name. More... | |
| MODELAPI_EXPORT void | setNewName (const std::wstring &theNewName) |
| Sets a new name. More... | |
| const Events_ID & | eventID () const |
| Returns identifier of the message. More... | |
| void * | sender () const |
| Returns sender of the message or NULL if it is anonymous message. More... | |
Static Public Member Functions | |
| static MODELAPI_EXPORT Events_ID & | eventId () |
| Static. Returns EventID of the message. More... | |
| static MODELAPI_EXPORT void | send (ObjectPtr theObject, const std::wstring &theOldName, const std::wstring &theNewName, const void *theSender) |
| Useful method that creates and sends the AttributeEvalMessage event. More... | |
Message that the object is renamed.
| ModelAPI_ObjectRenamedMessage::ModelAPI_ObjectRenamedMessage | ( | const Events_ID | theID, |
| const void * | theSender = 0 |
||
| ) |
Creates an empty message.
|
virtual |
The virtual destructor.
|
inlinestatic |
Static. Returns EventID of the message.
|
static |
Useful method that creates and sends the AttributeEvalMessage event.
| ObjectPtr ModelAPI_ObjectRenamedMessage::object | ( | ) | const |
Returns an object.
| void ModelAPI_ObjectRenamedMessage::setObject | ( | ObjectPtr | theObject | ) |
Sets an object.
| std::wstring ModelAPI_ObjectRenamedMessage::oldName | ( | ) | const |
Returns an old name.
| void ModelAPI_ObjectRenamedMessage::setOldName | ( | const std::wstring & | theOldName | ) |
Sets an old name.
| std::wstring ModelAPI_ObjectRenamedMessage::newName | ( | ) | const |
Returns a new name.
| void ModelAPI_ObjectRenamedMessage::setNewName | ( | const std::wstring & | theNewName | ) |
Sets a new name.
|
inlineinherited |
Returns identifier of the message.
|
inlineinherited |
Returns sender of the message or NULL if it is anonymous message.