28FXIMPLEMENT_ABSTRACT(
GNEChange, FXObject,
nullptr, 0)
44 myParents(hierarchicalElement->getParents()),
Supermode
@brie enum for supermodes
@ NETWORK
Network mode (Edges, junctions, etc..).
the function-object for an editing operation (abstract base)
virtual int size() const
Return the size of the command group.
bool myForward
we group antagonistic commands (create junction/delete junction) and keep them apart by this flag
Supermode getSupermode() const
get supermode
GNEChange()
FOX need this.
bool mergeWith(GNEChange *command)
Called by the undo system to try and merge the new incoming command with this command; should return ...
const bool mySelectedElement
flag for check if element is selected
GNEChange(Supermode supermode, bool forward, const bool selectedElement)
Constructor.
const Supermode mySupermode
supermode related with this change
const GNEHierarchicalStructureParents myParents
Hierarchical container with parents.
bool canMerge() const
Return TRUE if this command can be merged with previous undo commands. This is useful to combine e....
void clearParents()
clear hierarchical structure parents (used in GNE_Change)