Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Base class of identifiable objects. More...
#include <mitkIdentifiable.h>
Public Types | |
using | UIDType = std::string |
Public Member Functions | |
Identifiable () | |
Identifiable (const UIDType &uid) | |
Identifiable (const Identifiable &)=delete | |
Identifiable (Identifiable &&) noexcept | |
virtual | ~Identifiable () |
Identifiable & | operator= (const Identifiable &)=delete |
Identifiable & | operator= (Identifiable &&other) noexcept |
UIDType | GetUID () const |
Get unique ID of an object. More... | |
Base class of identifiable objects.
If you want to change the unique ID after creation time, you can use the mitk::UIDManipulator class. The reationale behind this pattern is to ensure that you think twice before doing this. It is intended to be used by data readers if necessary at all.
Definition at line 29 of file mitkIdentifiable.h.
using mitk::Identifiable::UIDType = std::string |
Definition at line 32 of file mitkIdentifiable.h.
mitk::Identifiable::Identifiable | ( | ) |
Definition at line 21 of file mitkIdentifiable.cpp.
References mitk::UIDGenerator::GetUID().
|
explicit |
Definition at line 28 of file mitkIdentifiable.cpp.
|
delete |
|
noexcept |
Definition at line 34 of file mitkIdentifiable.cpp.
|
virtual |
Definition at line 40 of file mitkIdentifiable.cpp.
mitk::Identifiable::UIDType mitk::Identifiable::GetUID | ( | ) | const |
Get unique ID of an object.
Definition at line 54 of file mitkIdentifiable.cpp.
Referenced by mitk::NodePredicateDataUID::CheckNode().
|
delete |
|
noexcept |
Definition at line 45 of file mitkIdentifiable.cpp.