comparison OrthancServer/FromDcmtkBridge.h @ 1818:1065401501fb worklists

ParsedDicomFile::CreateFromJson
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Nov 2015 16:48:23 +0100
parents 57b9e6890482
children 3ae2ff249675
comparison
equal deleted inserted replaced
1817:9a6de24209cf 1818:1065401501fb
57 static void Convert(DicomMap& target, DcmDataset& dataset); 57 static void Convert(DicomMap& target, DcmDataset& dataset);
58 58
59 static DicomTag Convert(const DcmTag& tag); 59 static DicomTag Convert(const DcmTag& tag);
60 60
61 static DicomTag GetTag(const DcmElement& element); 61 static DicomTag GetTag(const DcmElement& element);
62
63 static bool IsPrivateTag(const DicomTag& tag);
64 62
65 static bool IsUnknownTag(const DicomTag& tag); 63 static bool IsUnknownTag(const DicomTag& tag);
66 64
67 static DicomValue* ConvertLeafElement(DcmElement& element, 65 static DicomValue* ConvertLeafElement(DcmElement& element,
68 DicomToJsonFlags flags, 66 DicomToJsonFlags flags,
123 static DcmElement* CreateElementForTag(const DicomTag& tag); 121 static DcmElement* CreateElementForTag(const DicomTag& tag);
124 122
125 static void FillElementWithString(DcmElement& element, 123 static void FillElementWithString(DcmElement& element,
126 const DicomTag& tag, 124 const DicomTag& tag,
127 const std::string& utf8alue, // Encoded using UTF-8 125 const std::string& utf8alue, // Encoded using UTF-8
128 bool interpretBinaryTags, 126 bool decodeDataUriScheme,
129 Encoding dicomEncoding); 127 Encoding dicomEncoding);
130 128
131 static DcmElement* FromJson(const DicomTag& tag, 129 static DcmElement* FromJson(const DicomTag& tag,
132 const Json::Value& element, // Encoding using UTF-8 130 const Json::Value& element, // Encoding using UTF-8
133 bool interpretBinaryTags, 131 bool decodeDataUriScheme,
134 Encoding dicomEncoding); 132 Encoding dicomEncoding);
135 133
136 static DcmEVR ParseValueRepresentation(const std::string& s); 134 static DcmEVR ParseValueRepresentation(const std::string& s);
137 }; 135 };
138 } 136 }