comparison Plugins/Samples/Common/FullOrthancDataset.cpp @ 2278:fd5869e3ed5e

new constructors in FullOrthancDataset
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 May 2017 22:05:34 +0200
parents a3a65de1840f
children 2e7a8ce24be2
comparison
equal deleted inserted replaced
2276:b85f68a98474 2278:fd5869e3ed5e
164 IOrthancConnection::ParseJson(root_, content); 164 IOrthancConnection::ParseJson(root_, content);
165 CheckRoot(); 165 CheckRoot();
166 } 166 }
167 167
168 168
169 FullOrthancDataset::FullOrthancDataset(const void* content,
170 size_t size)
171 {
172 IOrthancConnection::ParseJson(root_, content, size);
173 CheckRoot();
174 }
175
176
169 bool FullOrthancDataset::GetStringValue(std::string& result, 177 bool FullOrthancDataset::GetStringValue(std::string& result,
170 const DicomPath& path) const 178 const DicomPath& path) const
171 { 179 {
172 const Json::Value* value = LookupPath(path); 180 const Json::Value* value = LookupPath(path);
173 181