Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::UIDManipulator Class Referencefinal

Change the unique ID of an mitk::Identifiable. More...

#include <mitkUIDManipulator.h>

Public Member Functions

 UIDManipulator (Identifiable *identifiable)
 Construct a UIDManipulator for the given Identifiable object. More...
 
 ~UIDManipulator ()
 
void SetUID (const Identifiable::UIDType &uid)
 Set the unique ID of the associated identifiable object. More...
 

Detailed Description

Change the unique ID of an mitk::Identifiable.

Think twice before doing this. Intended for data readers.

Definition at line 28 of file mitkUIDManipulator.h.

Constructor & Destructor Documentation

◆ UIDManipulator()

mitk::UIDManipulator::UIDManipulator ( Identifiable *  identifiable)
explicit

Construct a UIDManipulator for the given Identifiable object.

Parameters
[in]identifiableThe object whose UID will be manipulated. Must not be nullptr.
Exceptions
mitk::Exceptionif identifiable is nullptr.

◆ ~UIDManipulator()

mitk::UIDManipulator::~UIDManipulator ( )

Member Function Documentation

◆ SetUID()

void mitk::UIDManipulator::SetUID ( const Identifiable::UIDType &  uid)

Set the unique ID of the associated identifiable object.

Parameters
[in]uidThe new unique identifier to assign.

The documentation for this class was generated from the following file: