umbrello/umbrello
#include <idchangelog.h>
Public Types | |
enum | SpecialIDs { NullID = -1000 } |
Public Member Functions | |
IDChangeLog () | |
IDChangeLog (const IDChangeLog &Other) | |
~IDChangeLog () | |
void | addIDChange (Uml::ID::Type OldID, Uml::ID::Type NewID) |
Uml::ID::Type | findNewID (Uml::ID::Type OldID) |
Uml::ID::Type | findOldID (Uml::ID::Type NewID) |
IDChangeLog & | operator+= (const IDChangeLog &Other) |
IDChangeLog & | operator= (const IDChangeLog &Other) |
bool | operator== (const IDChangeLog &Other) const |
void | removeChangeByNewID (Uml::ID::Type 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
Enumerator | |
---|---|
NullID |
An impossible id value. |
Definition at line 48 of file idchangelog.h.
Constructor & Destructor Documentation
IDChangeLog::IDChangeLog | ( | ) |
Constructor.
Definition at line 16 of file idchangelog.cpp.
IDChangeLog::IDChangeLog | ( | const IDChangeLog & | Other | ) |
Copy constructor.
Definition at line 23 of file idchangelog.cpp.
IDChangeLog::~IDChangeLog | ( | ) |
Deconstructor.
Definition at line 31 of file idchangelog.cpp.
Member Function Documentation
void IDChangeLog::addIDChange | ( | Uml::ID::Type | OldID, |
Uml::ID::Type | NewID | ||
) |
Definition at line 88 of file idchangelog.cpp.
Uml::ID::Type IDChangeLog::findNewID | ( | Uml::ID::Type | OldID | ) |
Returns the new assigned ID of the object that had OldID as its previous id.
Definition at line 62 of file idchangelog.cpp.
Uml::ID::Type IDChangeLog::findOldID | ( | Uml::ID::Type | NewID | ) |
Definition at line 99 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 77 of file idchangelog.cpp.
IDChangeLog & IDChangeLog::operator= | ( | const IDChangeLog & | Other | ) |
Overloaded '=' operator.
Definition at line 41 of file idchangelog.cpp.
bool IDChangeLog::operator== | ( | const IDChangeLog & | Other | ) | const |
Overloaded '==' operator.
Definition at line 51 of file idchangelog.cpp.
void IDChangeLog::removeChangeByNewID | ( | Uml::ID::Type | OldID | ) |
Definition at line 124 of file idchangelog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:06:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.