Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Generated unique IDs. More...
#include <mitkUIDGenerator.h>
Public Member Functions | |
UIDGenerator (const char *prefix="UID_", unsigned int lengthOfRandomPart=8) | |
std::string | GetUID () |
Generated unique IDs.
Creates unique IDs from a given prefix, the current date/time and a random part. Be aware that, a length of one or two might not be sufficient.
The prefix is given to the constructor, together with the desired length of the random part.
The current implementation uses the time in seconds in combination with an a random part.
Definition at line 34 of file mitkUIDGenerator.h.
mitk::UIDGenerator::UIDGenerator | ( | const char * | prefix = "UID_" , |
unsigned int | lengthOfRandomPart = 8 |
||
) |
Definition at line 19 of file mitkUIDGenerator.cpp.
std::string mitk::UIDGenerator::GetUID | ( | ) |
Definition at line 26 of file mitkUIDGenerator.cpp.
Referenced by mitk::SceneIO::CreateEmptyTempDirectory(), mitk::modelFit::CreateFitInfoFromModelParameterizer(), mitk::PropertyRelationRuleBase::Disconnect(), mitk::EnsureModelFitUID(), mitk::EnsureUID(), mitk::PersistenceService::GetPropertyList(), mitk::Identifiable::Identifiable(), mitk::RenderingTestHelper::Initialize(), mitk::IGTLDeviceSource::RegisterAsMicroservice(), mitk::IGTLMessageSource::RegisterAsMicroservice(), mitk::NavigationDataSource::RegisterAsMicroservice(), mitk::AbstractUltrasoundTrackerDevice::RegisterAsMicroservice(), mitk::Annotation::RegisterAsMicroservice(), mitk::USImageLoggingFilter::SaveImages(), mitk::SceneIO::SaveScene(), and mitk::SmartPointerProperty::SetSmartPointer().