Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
mitkIdentifiable.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 mitkIdentifiable_h
14
#define mitkIdentifiable_h
15
16
#include <string>
17
#include <
MitkCoreExports.h
>
18
19
namespace
mitk
20
{
29
class
MITKCORE_EXPORT
Identifiable
30
{
31
public
:
32
using
UIDType
= std::string;
33
34
Identifiable
();
35
explicit
Identifiable
(
const
UIDType
&uid);
36
Identifiable
(
const
Identifiable
&) =
delete
;
37
Identifiable
(
Identifiable
&&) noexcept;
38
virtual ~
Identifiable
();
39
40
Identifiable & operator =(const Identifiable &) = delete;
41
Identifiable & operator =(Identifiable &&other) noexcept;
42
48
UIDType
GetUID() const;
49
50
private:
51
friend class
UIDManipulator
;
52
53
void
SetUID(const
UIDType
&uid);
54
55
struct Impl;
56
Impl *m_Impl;
57
};
58
}
59
60
#endif
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition:
MitkCoreExports.h:15
MitkCoreExports.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition:
GeometryOverview.dox:1
mitk::UIDManipulator
Change the unique ID of an mitk::Identifiable.
Definition:
mitkUIDManipulator.h:28
mitk::Identifiable::UIDType
std::string UIDType
Definition:
mitkIdentifiable.h:32
mitk::Identifiable
Base class of identifiable objects.
Definition:
mitkIdentifiable.h:29
Source
Modules
Core
include
mitkIdentifiable.h
Generated on Thu Mar 12 2020 10:23:51 for Medical Imaging Interaction Toolkit by
1.8.13