IDChangeLog Class Reference
This class contains all the ID translations done for each UMLObject pasted. More...
#include <idchangelog.h>
Public Types | |
| enum | SpecialIDs { NullID = -1000 } |
Public Member Functions | |
| IDChangeLog () | |
| Constructor. | |
| IDChangeLog (const IDChangeLog &Other) | |
| Copy constructor. | |
| ~IDChangeLog () | |
| Deconstructor. | |
| IDChangeLog & | operator= (const IDChangeLog &Other) |
| Overloaded '=' operator. | |
| bool | operator== (const IDChangeLog &Other) |
| Overloaded '==' operator. | |
| void | addIDChange (Uml::IDType OldID, Uml::IDType NewID) |
| Adds a new ID Change to the log. | |
| IDChangeLog & | operator+= (const IDChangeLog &Other) |
| Appends another IDChangeLog to this instance of IDChangeLog and returns a reference to itself. | |
| Uml::IDType | findNewID (Uml::IDType OldID) |
| Returns the new assigned ID of the object that had OldID as its previous id. | |
| Uml::IDType | findOldID (Uml::IDType NewID) |
| Returns the old ID of an UMLobject given its new one. | |
| void | removeChangeByNewID (Uml::IDType OldID) |
| Removes a change giving an New ID. | |
Detailed Description
This class contains all the ID translations done for each UMLObject pasted.It contains for each old id its new assigned id.
- Author:
- Gustavo Madrigal Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org
Definition at line 30 of file idchangelog.h.
Member Enumeration Documentation
|
|
Definition at line 84 of file idchangelog.h. |
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 16 of file idchangelog.cpp. |
|
|
Copy constructor.
Definition at line 18 of file idchangelog.cpp. |
|
|
Deconstructor.
Definition at line 22 of file idchangelog.cpp. |
Member Function Documentation
|
|
Overloaded '=' operator.
Definition at line 24 of file idchangelog.cpp. References m_LogArray. |
|
|
Overloaded '==' operator.
Definition at line 30 of file idchangelog.cpp. |
|
||||||||||||
|
Adds a new ID Change to the log.
Definition at line 56 of file idchangelog.cpp. Referenced by UMLView::addWidget(), UMLDoc::assignNewID(), and operator+=(). |
|
|
Appends another IDChangeLog to this instance of IDChangeLog and returns a reference to itself.
Definition at line 46 of file idchangelog.cpp. References addIDChange(), and m_LogArray. |
|
|
Returns the new assigned ID of the object that had OldID as its previous id.
Definition at line 35 of file idchangelog.cpp. Referenced by UMLView::addAssociation(), and UMLView::addWidget(). |
|
|
Returns the old ID of an UMLobject given its new one.
Definition at line 67 of file idchangelog.cpp. |
|
|
Removes a change giving an New ID.
Definition at line 90 of file idchangelog.cpp. |
The documentation for this class was generated from the following files:
