|
Jameo Core Library
|
This element of a linked list stores the changes made to the file in an Undo Step. More...
Public Member Functions | |
| UndoChange (Object *object) noexcept | |
| Constructor for UndoChange class. | |
| virtual | ~UndoChange () noexcept |
| Destructor. | |
| virtual void | swap () |
| This method performs an undo/redo step by swapping the stored value (here) with the value pointed to by the pointer. | |
Public Attributes | |
| UndoChange * | mNext |
| Pointer to the next UndoChange element in the linked list. | |
| UndoChange * | mPrev |
| Pointer to the previous UndoChange element in the linked list. | |
| Object * | mObject |
| Pointer to the object in which the change is taking place. | |
| jm::String | objname |
This element of a linked list stores the changes made to the file in an Undo Step.
This class should not be derived from Object as it should only be referenced within the UndoManager. External references clearly violate the concept and should be avoided!
|
explicitnoexcept |
Constructor for UndoChange class.
| object | Pointer to the object in which the change is taking place. |
|
virtualnoexcept |
Destructor.
|
virtual |
This method performs an undo/redo step by swapping the stored value (here) with the value pointed to by the pointer.
Reimplemented in jm::UndoChangeBool, jm::UndoChangeInt8, jm::UndoChangeUInt8, jm::UndoChangeInt16, jm::UndoChangeUInt16, jm::UndoChangeInt32, jm::UndoChangeUInt32, jm::UndoChangeInteger, jm::UndoChangeInt64, jm::UndoChangeUInt64, jm::UndoChangeSizeType, jm::UndoChangeFloat, jm::UndoChangeDouble, jm::UndoChangeString, jm::UndoChangeVertex2, jm::UndoChangeVertex3, jm::UndoChangeDate, jm::UndoChangeColour, jm::UndoChangeObjectRef, jm::UndoChangeBuffer, jm::UndoRegenerationMarker, and jm::UndoObjectRelease.
| UndoChange* jm::UndoChange::mNext |
Pointer to the next UndoChange element in the linked list.
| Object* jm::UndoChange::mObject |
Pointer to the object in which the change is taking place.
| UndoChange* jm::UndoChange::mPrev |
Pointer to the previous UndoChange element in the linked list.
| jm::String jm::UndoChange::objname |