14 #ifndef vtkDICOMUIDGenerator_h
15 #define vtkDICOMUIDGenerator_h
17 #include "vtkObject.h"
18 #include "vtkStdString.h"
19 #include "vtkDICOMModule.h"
20 #include "vtkDICOMConfig.h"
21 #include "vtkDICOMTag.h"
24 #if defined(VTK_ABI_NAMESPACE_BEGIN)
25 VTK_ABI_NAMESPACE_BEGIN
30 #if defined(VTK_ABI_NAMESPACE_BEGIN)
55 void PrintSelf(ostream& os, vtkIndent indent) VTK_DICOM_OVERRIDE;
103 return vtkDICOMUIDGenerator::Default; }
111 char UIDPrefixStore[64];
115 friend class vtkDICOMUIDGeneratorInitializer;
117 #ifdef VTK_DICOM_DELETE
132 class VTKDICOM_EXPORT vtkDICOMUIDGeneratorInitializer
135 vtkDICOMUIDGeneratorInitializer();
136 ~vtkDICOMUIDGeneratorInitializer();
138 #ifdef VTK_DICOM_DELETE
139 vtkDICOMUIDGeneratorInitializer(
140 const vtkDICOMUIDGeneratorInitializer&) VTK_DICOM_DELETE;
141 vtkDICOMUIDGeneratorInitializer& operator=(
142 const vtkDICOMUIDGeneratorInitializer&) VTK_DICOM_DELETE;
144 vtkDICOMUIDGeneratorInitializer(
145 const vtkDICOMUIDGeneratorInitializer&) =
delete;
146 vtkDICOMUIDGeneratorInitializer& operator=(
147 const vtkDICOMUIDGeneratorInitializer&) =
delete;
151 static vtkDICOMUIDGeneratorInitializer vtkDICOMUIDGeneratorInitializerInstance;
A (group,element) identifier tag for DICOM attributes.
Definition: vtkDICOMTag.h:23
Generate UIDs for written DICOM files.
Definition: vtkDICOMUIDGenerator.h:46
virtual std::string GenerateUID(vtkDICOMTag tag)
Generate a UID for the provided tag.
static vtkDICOMUIDGenerator * GetDefault()
Get the default UID generator.
Definition: vtkDICOMUIDGenerator.h:102
virtual void GenerateUIDs(vtkDICOMTag tag, vtkStringArray *uids)
Generate a series of UIDs, sorted from low to high.
static vtkDICOMUIDGenerator * New()
Static method for construction.
const char * GetUIDPrefix()
Get the current UID prefix.
void SetUIDPrefix(const char *prefix)
Set a UID prefix to use when generating UIDs.
void PrintSelf(ostream &os, vtkIndent indent) VTK_DICOM_OVERRIDE
Print information about this object.
static void SetDefault(vtkDICOMUIDGenerator *uidgen)
Set the default UID generator.
abstract base class for most VTK objects
Definition: vtkObject.h:54