13#ifndef DCM_TREE_UIDGENERATOR_H
14#define DCM_TREE_UIDGENERATOR_H
62 static std::string
uid();
89 static std::string
hashUID(
const std::string& uid);
Class to generate unique ids, valid to be used in a DICOM environment.
static void setMaxCounterPerSecond(int value)
This method allows to overwrite how many uids can be created per second.
static std::string hashUID(const std::string &uid)
Get a uid that is basically a hash of the argument uid (with an appropriate prefix).
static int getMaxCounterPerSecond()
Get the used max counter per seconds.
static void initialize(std::string iso_root_uid, std::string systemtype, std::string softwaretype, std::string replacementMac=std::string())
Overload to keep old code working, systemtype and softwaretype are not used any more.
static void initialize(const std::string &iso_root_uid=std::string(), const std::string &replacementMac=std::string())
Function to be called exactly once before any other function is called.
static bool isInitialized()
return true if class is initialized
static std::string uid()
create a new uid
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
dictionary class to provide dicom-meta information