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

umbrello/umbrello

IDChangeLog Class Reference

#include <idchangelog.h>

List of all members.


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 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

enum IDChangeLog::SpecialIDs

Enumerator:
NullID  An impossible id value.

Definition at line 84 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 18 of file idchangelog.cpp.

IDChangeLog::~IDChangeLog (  ) 

Deconstructor.

Definition at line 22 of file idchangelog.cpp.


Member Function Documentation

IDChangeLog & IDChangeLog::operator= ( const IDChangeLog &  Other  ) 

Overloaded '=' operator.

Definition at line 24 of file idchangelog.cpp.

bool IDChangeLog::operator== ( const IDChangeLog &  Other  ) 

Overloaded '==' operator.

Definition at line 30 of file idchangelog.cpp.

void IDChangeLog::addIDChange ( Uml::IDType  OldID,
Uml::IDType  NewID 
)

Adds a new ID Change to the log.

Definition at line 56 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 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  ) 

Removes a change giving an New ID.

Definition at line 90 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"
  • kate
  •     kate
  • umbrello
  •   umbrello
Generated for kdesdk by doxygen 1.5.4
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