comparison OrthancFramework/Sources/DicomParsing/FromDcmtkBridge.h @ 4696:dd6274412ff4

new configuration option "ExternalDictionaries" to load external DICOM dictionaries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jun 2021 15:47:21 +0200
parents 7182f5732480
children 569d9ef165b1
comparison
equal deleted inserted replaced
4695:651f069c7f77 4696:dd6274412ff4
101 Encoding source, 101 Encoding source,
102 bool hasSourceCodeExtensions, 102 bool hasSourceCodeExtensions,
103 Encoding target); 103 Encoding target);
104 104
105 public: 105 public:
106 /**
107 * Initialize DCMTK to use the default DICOM dictionaries (either
108 * embedded into the binaries for official releases, or using the
109 * environment variable "DCM_DICT_ENVIRONMENT_VARIABLE", or using
110 * the system-wide path to the DCMTK library for developers)
111 **/
106 static void InitializeDictionary(bool loadPrivateDictionary); 112 static void InitializeDictionary(bool loadPrivateDictionary);
113
114 /**
115 * Replace the default DICOM dictionaries by the manually-provided
116 * external dictionaries. This is needed to use DICONDE for
117 * instance. Pay attention to the fact that the current dictionary
118 * will be reinitialized (all its tags are cleared).
119 **/
120 static void LoadExternalDictionaries(const std::vector<std::string>& dictionaries);
107 121
108 static void RegisterDictionaryTag(const DicomTag& tag, 122 static void RegisterDictionaryTag(const DicomTag& tag,
109 ValueRepresentation vr, 123 ValueRepresentation vr,
110 const std::string& name, 124 const std::string& name,
111 unsigned int minMultiplicity, 125 unsigned int minMultiplicity,