Medical Imaging Interaction Toolkit  2018.4.99-1640525a
Medical Imaging Interaction Toolkit
mitk::UIDGenerator Class Reference

Generated unique IDs. More...

#include <mitkUIDGenerator.h>

Public Member Functions

 UIDGenerator (const char *prefix="")
 
std::string GetUID ()
 

Detailed Description

Generated unique IDs.

Creates unique IDs.

The current implementation uses the UUID specification (https://www.ietf.org/rfc/rfc4122.txt) and random generator. One may define a prefix for the UID string. But it is not needed to guarantee uniquness. It is just a human readable addition, e.g. to see for which purpose the UID was generated.

Definition at line 31 of file mitkUIDGenerator.h.

Constructor & Destructor Documentation

◆ UIDGenerator()

mitk::UIDGenerator::UIDGenerator ( const char *  prefix = "")
explicit

Definition at line 26 of file mitkUIDGenerator.cpp.

Member Function Documentation

◆ GetUID()


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