Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h Fri Oct 09 12:29:21 2015 +0200 +++ b/OrthancServer/ParsedDicomFile.h Fri Oct 09 13:31:22 2015 +0200 @@ -78,22 +78,19 @@ void Remove(const DicomTag& tag); - void Insert(const DicomTag& tag, - const std::string& utf8Value); + void Replace(const DicomTag& tag, + const std::string& utf8Value, + DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent); void Replace(const DicomTag& tag, - const std::string& utf8Value, + const Json::Value& value, // Assumed to be encoded with UTF-8 + bool decodeBinaryTags, DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent); void Insert(const DicomTag& tag, const Json::Value& value, // Assumed to be encoded with UTF-8 bool decodeBinaryTags); - void Replace(const DicomTag& tag, - const Json::Value& value, // Assumed to be encoded with UTF-8 - bool decodeBinaryTags, - DicomReplaceMode mode = DicomReplaceMode_InsertIfAbsent); - void RemovePrivateTags() { RemovePrivateTagsInternal(NULL);