comparison Core/DicomFormat/DicomMap.h @ 3006:0e1755e5efd0

DicomMap::ExtractMainDicomTags()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 13 Dec 2018 12:37:10 +0100
parents 8265a6b56100
children abe49ca61cd5
comparison
equal deleted inserted replaced
3005:8265a6b56100 3006:0e1755e5efd0
57 // Warning: This takes the ownership of "value" 57 // Warning: This takes the ownership of "value"
58 void SetValue(uint16_t group, 58 void SetValue(uint16_t group,
59 uint16_t element, 59 uint16_t element,
60 DicomValue* value); 60 DicomValue* value);
61 61
62 void SetValue(DicomTag tag, 62 void SetValue(DicomTag tag,
63 DicomValue* value); 63 DicomValue* value);
64 64
65 void ExtractTags(DicomMap& source, 65 void ExtractTags(DicomMap& source,
66 const DicomTag* tags, 66 const DicomTag* tags,
67 size_t count) const; 67 size_t count) const;
68 68
69 static void GetMainDicomTagsInternal(std::set<DicomTag>& result, ResourceType level); 69 static void GetMainDicomTagsInternal(std::set<DicomTag>& result, ResourceType level);
70 70
71 void ExtractMainDicomTagsInternal(const DicomMap& other,
72 ResourceType level);
73
71 public: 74 public:
72 DicomMap() 75 DicomMap()
73 { 76 {
74 } 77 }
75 78
216 219
217 bool ParseDouble(double& result, 220 bool ParseDouble(double& result,
218 const DicomTag& tag) const; 221 const DicomTag& tag) const;
219 222
220 void FromDicomAsJson(const Json::Value& dicomAsJson); 223 void FromDicomAsJson(const Json::Value& dicomAsJson);
224
225 void Merge(const DicomMap& other);
226
227 void ExtractMainDicomTags(const DicomMap& other);
221 228
222 void Serialize(Json::Value& target) const; 229 void Serialize(Json::Value& target) const;
223 230
224 void Unserialize(const Json::Value& source); 231 void Unserialize(const Json::Value& source);
225 }; 232 };