umbrello/umbrello
IDChangeLog Class Reference
#include <idchangelog.h>
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 30 of file idchangelog.h.
Public Types | |
| enum | SpecialIDs { NullID = -1000 } |
Public Member Functions | |
| IDChangeLog () | |
| IDChangeLog (const IDChangeLog &Other) | |
| ~IDChangeLog () | |
| IDChangeLog & | operator= (const IDChangeLog &Other) |
| bool | operator== (const IDChangeLog &Other) |
| void | addIDChange (Uml::IDType OldID, Uml::IDType NewID) |
| IDChangeLog & | operator+= (const IDChangeLog &Other) |
| Uml::IDType | findNewID (Uml::IDType OldID) |
| Uml::IDType | findOldID (Uml::IDType NewID) |
| void | removeChangeByNewID (Uml::IDType OldID) |
Member Enumeration Documentation
Constructor & Destructor Documentation
| IDChangeLog::IDChangeLog | ( | ) |
| IDChangeLog::IDChangeLog | ( | const IDChangeLog & | Other | ) |
| IDChangeLog::~IDChangeLog | ( | ) |
Member Function Documentation
| IDChangeLog & IDChangeLog::operator= | ( | const IDChangeLog & | Other | ) |
| bool IDChangeLog::operator== | ( | const IDChangeLog & | Other | ) |
| void IDChangeLog::addIDChange | ( | Uml::IDType | OldID, | |
| Uml::IDType | NewID | |||
| ) |
| IDChangeLog & IDChangeLog::operator+= | ( | const IDChangeLog & | Other | ) |
Appends another IDChangeLog to this instance of IDChangeLog and returns a reference to itself.
Definition at line 46 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 35 of file idchangelog.cpp.
| Uml::IDType IDChangeLog::findOldID | ( | Uml::IDType | NewID | ) |
Returns the old ID of an UMLobject given its new one.
Definition at line 67 of file idchangelog.cpp.
| void IDChangeLog::removeChangeByNewID | ( | Uml::IDType | OldID | ) |
The documentation for this class was generated from the following files:
KDE 4.0 API Reference