comparison OrthancFramework/Sources/DicomFormat/DicomMap.h @ 4933:312c6f4da888 more-tags

adding MainDicomTags signatures
author Alain Mazy <am@osimis.io>
date Wed, 09 Mar 2022 12:16:45 +0100
parents b7ce2bb6b881
children acd3f72e2a21
comparison
equal deleted inserted replaced
4932:b7ce2bb6b881 4933:312c6f4da888
133 133
134 static bool IsMainDicomTag(const DicomTag& tag); 134 static bool IsMainDicomTag(const DicomTag& tag);
135 135
136 static const std::set<DicomTag>& GetMainDicomTags(ResourceType level); 136 static const std::set<DicomTag>& GetMainDicomTags(ResourceType level);
137 137
138 // returns a string uniquely identifying the list of main dicom tags for a level
139 static const std::string& GetMainDicomTagsSignature(ResourceType level);
140
141 static const std::string& GetDefaultMainDicomTagsSignature(ResourceType level);
142
138 static const std::set<DicomTag>& GetAllMainDicomTags(); 143 static const std::set<DicomTag>& GetAllMainDicomTags();
139 144
140 // adds a main dicom tag to the definition of main dicom tags for each level. 145 // adds a main dicom tag to the definition of main dicom tags for each level.
141 // this should be done once at startup before you use MainDicomTags methods 146 // this should be done once at startup before you use MainDicomTags methods
142 static void AddMainDicomTag(const DicomTag& tag, const std::string& name, ResourceType level); 147 static void AddMainDicomTag(const DicomTag& tag, const std::string& name, ResourceType level);