umbrello  2.31.3
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);
28  Uml::ID::Type get();
29 
30 } // end namespace UniqueID
31 
32 #endif
33 
void init()
Definition: uniqueid.cpp:37
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
Definition: uniqueid.cpp:15
std::string Type
Definition: basictypes.h:351