• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • kdesdk
  • Sitemap
  • Contact Us
 

umbrello/umbrello

IDChangeLog Class Reference

This class contains all the ID translations done for each UMLObject pasted. More...

#include <idchangelog.h>

List of all members.

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.

Author:
Gustavo Madrigal Bugs and comments to uml-devel@lists.sf.net or http://bugs.kde.org

Definition at line 26 of file idchangelog.h.


Member Enumeration Documentation

enum IDChangeLog::SpecialIDs
Enumerator:
NullID 

An impossible id value.

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:
  • idchangelog.h
  • idchangelog.cpp

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdesdk

Skip menu "kdesdk"
  • kapptemplate
  • kate
  •     kate
  • kbugbuster
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal