comparison OrthancServer/ParsedDicomFile.h @ 1695:18c02c6987d5

fix for encodings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Oct 2015 14:34:19 +0200
parents 558b25228a23
children 8ca0e89798b2
comparison
equal deleted inserted replaced
1694:06d579e82bb8 1695:18c02c6987d5
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 Insert(const DicomTag& tag,
82 const std::string& value); 82 const std::string& utf8Value);
83
84 void Replace(const DicomTag& tag,
85 const std::string& utf8Value,
86 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
83 87
84 void Insert(const DicomTag& tag, 88 void Insert(const DicomTag& tag,
85 const Json::Value& value, 89 const Json::Value& value, // Assumed to be encoded with UTF-8
86 bool decodeBinaryTags); 90 bool decodeBinaryTags);
87 91
88 void Replace(const DicomTag& tag, 92 void Replace(const DicomTag& tag,
89 const Json::Value& value, 93 const Json::Value& value, // Assumed to be encoded with UTF-8
90 bool decodeBinaryTags, 94 bool decodeBinaryTags,
91 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
92
93 void Replace(const DicomTag& tag,
94 const std::string& value,
95 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent); 95 DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent);
96 96
97 void RemovePrivateTags() 97 void RemovePrivateTags()
98 { 98 {
99 RemovePrivateTagsInternal(NULL); 99 RemovePrivateTagsInternal(NULL);