Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
mitkUIDGenerator.h
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef mitkUIDGenerator_h
14
#define mitkUIDGenerator_h
15
16
#include <
MitkCoreExports.h
>
17
#include <string>
18
19
namespace
mitk
20
{
33
class
MITKCORE_EXPORT
UIDGenerator
34
{
35
public
:
40
explicit
UIDGenerator
(
const
char
* prefix =
""
);
41
50
std::string
GetUID
();
51
52
private
:
53
std::string m_Prefix;
54
};
55
}
// namespace mitk
56
57
#endif
MitkCoreExports.h
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
mitk::UIDGenerator
Generates unique identifier strings.
Definition:
mitkUIDGenerator.h:34
mitk::UIDGenerator::GetUID
std::string GetUID()
Generate and return a new unique ID string.
mitk::UIDGenerator::UIDGenerator
UIDGenerator(const char *prefix="")
Construct a UID generator with an optional prefix.
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
src
MITK
Modules
Core
include
mitkUIDGenerator.h
Generated by
1.9.1