Inkscape
Vector Graphics Editor
|
Object representing child addition. More...
#include <event.h>
Public Member Functions | |
EventAdd (Node *repr, Node *c, Node *rr, Event *next) | |
![]() | |
virtual | ~Event ()=default |
Event * | optimizeOne () |
If possible, combine this event with the next to reduce memory use. | |
void | undoOne (NodeObserver &observer) const |
Undo this event to an observer. | |
void | replayOne (NodeObserver &observer) const |
Replay this event to an observer. | |
![]() | |
void * | operator new (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) |
void * | operator new[] (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect) |
void | operator delete (void *p) |
Public Attributes | |
Node * | child |
The added child node. | |
Node * | ref |
The node after which the child has been added, or NULL if it was added as first. | |
![]() | |
Event * | next |
Pointer to the next event in the event chain. | |
int | serial |
Serial number of the event, not used at the moment. | |
Node * | repr |
Pointer to the node that was the object of the event. | |
Private Member Functions | |
Event * | _optimizeOne () override |
void | _undoOne (NodeObserver &observer) const override |
void | _replayOne (NodeObserver &observer) const override |
Additional Inherited Members | |
![]() | |
typedef Inkscape::Util::ForwardPointerIterator< Event, IteratorStrategy > | Iterator |
typedef Inkscape::Util::ForwardPointerIterator< Event const, IteratorStrategy > | ConstIterator |
![]() | |
Event (Node *r, Event *n) | |
|
overrideprivatevirtual |
Implements Inkscape::XML::Event.
|
overrideprivatevirtual |
Implements Inkscape::XML::Event.
Definition at line 222 of file event.cpp.
References Inkscape::XML::NodeObserver::notifyChildAdded(), and observer.
|
overrideprivatevirtual |
Implements Inkscape::XML::Event.
Definition at line 154 of file event.cpp.
References observer, and Inkscape::XML::Event::repr.
Node* Inkscape::XML::EventAdd::ref |