comparison OrthancServer/ParsedDicomFile.h @ 1699:8ca0e89798b2

"/modify" can insert/modify sequences
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Oct 2015 13:31:22 +0200
parents 18c02c6987d5
children a001f6226c7c
comparison
equal deleted inserted replaced
1698:d78b87f93bcf 1699:8ca0e89798b2
76 76
77 void Answer(RestApiOutput& output); 77 void Answer(RestApiOutput& output);
78 78
79 void Remove(const DicomTag& tag); 79 void Remove(const DicomTag& tag);
80 80
81 void Insert(const DicomTag& tag, 81 void Replace(const DicomTag& tag,
82 const std::string& utf8Value); 82 const std::string& utf8Value,
83 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
83 84
84 void Replace(const DicomTag& tag, 85 void Replace(const DicomTag& tag,
85 const std::string& utf8Value, 86 const Json::Value& value, // Assumed to be encoded with UTF-8
87 bool decodeBinaryTags,
86 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent); 88 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
87 89
88 void Insert(const DicomTag& tag, 90 void Insert(const DicomTag& tag,
89 const Json::Value& value, // Assumed to be encoded with UTF-8 91 const Json::Value& value, // Assumed to be encoded with UTF-8
90 bool decodeBinaryTags); 92 bool decodeBinaryTags);
91
92 void Replace(const DicomTag& tag,
93 const Json::Value& value, // Assumed to be encoded with UTF-8
94 bool decodeBinaryTags,
95 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
96 93
97 void RemovePrivateTags() 94 void RemovePrivateTags()
98 { 95 {
99 RemovePrivateTagsInternal(NULL); 96 RemovePrivateTagsInternal(NULL);
100 } 97 }