Mercurial > hg > orthanc
comparison Plugins/Samples/Common/FullOrthancDataset.cpp @ 2280:2e7a8ce24be2
new constructor
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 May 2017 20:39:53 +0200 |
parents | fd5869e3ed5e |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2279:16e45af17a4d | 2280:2e7a8ce24be2 |
---|---|
172 IOrthancConnection::ParseJson(root_, content, size); | 172 IOrthancConnection::ParseJson(root_, content, size); |
173 CheckRoot(); | 173 CheckRoot(); |
174 } | 174 } |
175 | 175 |
176 | 176 |
177 FullOrthancDataset::FullOrthancDataset(const Json::Value& root) : | |
178 root_(root) | |
179 { | |
180 CheckRoot(); | |
181 } | |
182 | |
183 | |
177 bool FullOrthancDataset::GetStringValue(std::string& result, | 184 bool FullOrthancDataset::GetStringValue(std::string& result, |
178 const DicomPath& path) const | 185 const DicomPath& path) const |
179 { | 186 { |
180 const Json::Value* value = LookupPath(path); | 187 const Json::Value* value = LookupPath(path); |
181 | 188 |