Mercurial > hg > orthanc-stone
comparison Framework/Toolbox/DicomDataset.h @ 31:9aace933cb64
sharing code with the Orthanc core
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 16 Dec 2016 15:41:20 +0100 |
parents | 351ab0da0150 |
children |
comparison
equal
deleted
inserted
replaced
30:1099a148f7e5 | 31:9aace933cb64 |
---|---|
31 | 31 |
32 | 32 |
33 #pragma once | 33 #pragma once |
34 | 34 |
35 #include "GeometryToolbox.h" | 35 #include "GeometryToolbox.h" |
36 #include "../Messaging/IOrthancConnection.h" | 36 #include "../../Resources/Orthanc/Plugins/Samples/Common/IOrthancConnection.h" |
37 | 37 |
38 #include <map> | 38 #include <map> |
39 #include <stdint.h> | 39 #include <stdint.h> |
40 #include <json/value.h> | 40 #include <json/value.h> |
41 | 41 |
66 DicomDataset(const Json::Value& content) | 66 DicomDataset(const Json::Value& content) |
67 { | 67 { |
68 Parse(content); | 68 Parse(content); |
69 } | 69 } |
70 | 70 |
71 DicomDataset(IOrthancConnection& orthanc, | 71 DicomDataset(OrthancPlugins::IOrthancConnection& orthanc, |
72 const std::string& instanceId); | 72 const std::string& instanceId); |
73 | 73 |
74 bool HasTag(const Tag& tag) const | 74 bool HasTag(const Tag& tag) const |
75 { | 75 { |
76 return values_.find(tag) != values_.end(); | 76 return values_.find(tag) != values_.end(); |