umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
|
#include <idchangelog.h>
Classes | |
class | Point |
class | PointArray |
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) const |
void | addIDChange (Uml::ID::Type OldID, Uml::ID::Type NewID) |
IDChangeLog & | operator+= (const IDChangeLog &Other) |
Uml::ID::Type | findNewID (Uml::ID::Type OldID) |
Uml::ID::Type | findOldID (Uml::ID::Type NewID) |
void | removeChangeByNewID (Uml::ID::Type OldID) |
Private Member Functions | |
bool | findIDChange (Uml::ID::Type OldID, Uml::ID::Type NewID, uint &pos) |
Private Attributes | |
PointArray | m_LogArray |
This class contains all the ID translations done for each UMLObject pasted. It contains for each old id its new assigned id.
IDChangeLog::IDChangeLog | ( | ) |
Constructor.
IDChangeLog::IDChangeLog | ( | const IDChangeLog & | Other | ) |
Copy constructor.
IDChangeLog::~IDChangeLog | ( | ) |
Deconstructor.
void IDChangeLog::addIDChange | ( | Uml::ID::Type | OldID, |
Uml::ID::Type | NewID | ||
) |
|
private |
Uml::ID::Type IDChangeLog::findNewID | ( | Uml::ID::Type | OldID | ) |
Returns the new assigned ID of the object that had OldID as its previous id.
Uml::ID::Type IDChangeLog::findOldID | ( | Uml::ID::Type | NewID | ) |
IDChangeLog & IDChangeLog::operator+= | ( | const IDChangeLog & | Other | ) |
Appends another IDChangeLog to this instance of IDChangeLog and returns a reference to itself.
IDChangeLog & IDChangeLog::operator= | ( | const IDChangeLog & | Other | ) |
Overloaded '=' operator.
bool IDChangeLog::operator== | ( | const IDChangeLog & | Other | ) | const |
Overloaded '==' operator.
void IDChangeLog::removeChangeByNewID | ( | Uml::ID::Type | OldID | ) |
|
private |