umbrello: umbrello/uniqueid.h Source File

umbrello 2.32.1 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
18 Uml::ID::Type gen();
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
Uml::ID::Reserved
const Type Reserved
special value for illegal ID
Definition: basictypes.h:354
UniqueID::init
void init()
Definition: uniqueid.cpp:37
UniqueID
Definition: uniqueid.cpp:15
Uml::ID::Type
std::string Type
Definition: basictypes.h:351
UniqueID::set
void set(Uml::ID::Type id)
Definition: uniqueid.cpp:53
uniqueid.h
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:45
basictypes.h
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:26
UniqueID::m_uniqueID
Uml::ID::Type m_uniqueID
Definition: uniqueid.cpp:21