umbrello  2.32.2
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
uniqueid.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2006-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef UNIQUEID_H
12 #define UNIQUEID_H
13 
14 #include "basictypes.h"
15 
16 namespace UniqueID {
17 
19 
21  // Only required by code that does special operations on unique IDs.
22  // NB Try to avoid these functions if possible because their
23  // implementation and/or programming interface may change.
24 
25  void init();
26 
27  void set(Uml::ID::Type id);
29 
30 } // end namespace UniqueID
31 
32 #endif
33 
Uml::ID::Reserved
const Type Reserved
special value for illegal ID
Definition: basictypes.h:371
UniqueID::init
void init()
Definition: uniqueid.cpp:45
UniqueID
Definition: uniqueid.cpp:15
Uml::ID::Type
std::string Type
Definition: basictypes.h:368
UniqueID::set
void set(Uml::ID::Type id)
Definition: uniqueid.cpp:61
uniqueid.h
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:53
basictypes.h
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:34
UniqueID::m_uniqueID
Uml::ID::Type m_uniqueID
Definition: uniqueid.cpp:29