DCMTree_Utils::UIDGenerator Class Reference

Class to generate unique ids, valid to be used in a DICOM environment. More...

#include <DCMTree_UIDGenerator.h>

List of all members.

Static Public Member Functions

static void initialize (std::string iso_root_uid, std::string systemtype, std::string softwaretype)
 function to be called exactly once before any other function is called this function sets some predefined values
static std::string uid ()
 create a new uid
static bool isInitialized ()
 return true if class is initialized


Detailed Description

Class to generate unique ids, valid to be used in a DICOM environment.

the created UIDs have the following form: 'iso_root_uid'.'systemtype'.'mac of the system'.'software type'.'process id'.'timestamp+counter' the form of the first part of the UIDs were decided together with Sebastian Meyer several years ago.

the uids are unique even in a multi-threaded environment the mac of the system has to be unique of course

Definition at line 34 of file DCMTree_UIDGenerator.h.


Member Function Documentation

static void DCMTree_Utils::UIDGenerator::initialize ( std::string  iso_root_uid,
std::string  systemtype,
std::string  softwaretype 
) [static]

function to be called exactly once before any other function is called this function sets some predefined values

static bool DCMTree_Utils::UIDGenerator::isInitialized (  )  [static]

return true if class is initialized

static std::string DCMTree_Utils::UIDGenerator::uid (  )  [static]

create a new uid


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

Generated on Sat Sep 3 18:39:34 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8