umbrello: umbrello/uniqueid.h Source File

umbrello 2.38.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

uniqueid.h
Go to the documentation of this file.
1/*
2 SPDX-License-Identifier: GPL-2.0-or-later
3 SPDX-FileCopyrightText: 2006-2020 Umbrello UML Modeller Authors <umbrello-devel@kde.org>
4*/
5
6#ifndef UNIQUEID_H
7#define UNIQUEID_H
8
9#include "basictypes.h"
10
11namespace UniqueID {
12
13 Uml::ID::Type gen();
14
16 // Only required by code that does special operations on unique IDs.
17 // NB Try to avoid these functions if possible because their
18 // implementation and/or programming interface may change.
19
20 void init();
21
22 void set(Uml::ID::Type id);
23 Uml::ID::Type get();
24
25} // end namespace UniqueID
26
27#endif
28
basictypes.h
Uml::ID::Type
std::string Type
Definition: basictypes.h:371
UniqueID
Definition: uniqueid.cpp:10
UniqueID::get
Uml::ID::Type get()
Definition: uniqueid.cpp:40
UniqueID::set
void set(Uml::ID::Type id)
Definition: uniqueid.cpp:48
UniqueID::gen
Uml::ID::Type gen()
Definition: uniqueid.cpp:21
UniqueID::init
void init()
Definition: uniqueid.cpp:32