Mercurial > hg > orthanc-stone
comparison Resources/Orthanc/Plugins/Samples/Common/FullOrthancDataset.cpp @ 67:acb60cbb8301 wasm
refactoring SeriesLoader
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 18 May 2017 17:51:41 +0200 |
parents | 885932a893de |
children |
comparison
equal
deleted
inserted
replaced
66:298f375dcb68 | 67:acb60cbb8301 |
---|---|
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 |