umbrello/umbrello
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 (const IDChangeLog &Other) | |
| IDChangeLog () | |
| ~IDChangeLog () | |
| void | addIDChange (Uml::IDType OldID, Uml::IDType NewID) |
| Uml::IDType | findNewID (Uml::IDType OldID) |
| Uml::IDType | findOldID (Uml::IDType NewID) |
| IDChangeLog & | operator+= (const IDChangeLog &Other) |
| IDChangeLog & | operator= (const IDChangeLog &Other) |
| bool | operator== (const IDChangeLog &Other) |
| void | removeChangeByNewID (Uml::IDType OldID) |
Detailed Description
This class contains all the ID translations done for each UMLObject pasted.
It contains for each old id its new assigned id.
Definition at line 26 of file idchangelog.h.
Member Enumeration Documentation
Definition at line 50 of file idchangelog.h.
Constructor & Destructor Documentation
| IDChangeLog::IDChangeLog | ( | ) |
Constructor.
Definition at line 18 of file idchangelog.cpp.
| IDChangeLog::IDChangeLog | ( | const IDChangeLog & | Other | ) |
Copy constructor.
Definition at line 25 of file idchangelog.cpp.
| IDChangeLog::~IDChangeLog | ( | ) |
Deconstructor.
Definition at line 33 of file idchangelog.cpp.
Member Function Documentation
| void IDChangeLog::addIDChange | ( | Uml::IDType | OldID, | |
| Uml::IDType | NewID | |||
| ) |
Definition at line 90 of file idchangelog.cpp.
| Uml::IDType IDChangeLog::findNewID | ( | Uml::IDType | OldID | ) |
Returns the new assigned ID of the object that had OldID as its previous id.
Definition at line 64 of file idchangelog.cpp.
| Uml::IDType IDChangeLog::findOldID | ( | Uml::IDType | NewID | ) |
Definition at line 102 of file idchangelog.cpp.
| IDChangeLog & IDChangeLog::operator+= | ( | const IDChangeLog & | Other | ) |
Appends another IDChangeLog to this instance of IDChangeLog and returns a reference to itself.
Definition at line 79 of file idchangelog.cpp.
| IDChangeLog & IDChangeLog::operator= | ( | const IDChangeLog & | Other | ) |
Overloaded '=' operator.
Definition at line 43 of file idchangelog.cpp.
| bool IDChangeLog::operator== | ( | const IDChangeLog & | Other | ) |
Overloaded '==' operator.
Definition at line 53 of file idchangelog.cpp.
| void IDChangeLog::removeChangeByNewID | ( | Uml::IDType | OldID | ) |
Definition at line 127 of file idchangelog.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference