comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2214:b1d93286b315

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 10 Dec 2016 11:24:58 +0100
parents 95d1d758abb7
children 028214a95194
comparison
equal deleted inserted replaced
2213:95d1d758abb7 2214:b1d93286b315
351 351
352 ~FindMatcher(); 352 ~FindMatcher();
353 353
354 bool IsMatch(const void* dicom, 354 bool IsMatch(const void* dicom,
355 uint32_t size) const; 355 uint32_t size) const;
356
357 bool IsMatch(const MemoryBuffer& dicom) const
358 {
359 return IsMatch(dicom.GetData(), dicom.GetSize());
360 }
356 }; 361 };
357 362
358 363
359 bool RestApiGet(Json::Value& result, 364 bool RestApiGet(Json::Value& result,
360 OrthancPluginContext* context, 365 OrthancPluginContext* context,