Mercurial > hg > orthanc-wsi
comparison Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 212:f1ea48f92d66
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 Dec 2020 09:19:43 +0100 |
parents | 9d3ffcc402a9 |
children | 1e864138f0da |
comparison
equal
deleted
inserted
replaced
211:7459819f3176 | 212:f1ea48f92d66 |
---|---|
474 } | 474 } |
475 }; | 475 }; |
476 #endif | 476 #endif |
477 | 477 |
478 | 478 |
479 bool ReadJson(Json::Value& target, | |
480 const std::string& source); | |
481 | |
482 bool ReadJson(Json::Value& target, | |
483 const void* buffer, | |
484 size_t size); | |
485 | |
486 void WriteFastJson(std::string& target, | |
487 const Json::Value& source); | |
488 | |
489 void WriteStyledJson(std::string& target, | |
490 const Json::Value& source); | |
491 | |
479 bool RestApiGet(Json::Value& result, | 492 bool RestApiGet(Json::Value& result, |
480 const std::string& uri, | 493 const std::string& uri, |
481 bool applyPlugins); | 494 bool applyPlugins); |
482 | 495 |
483 bool RestApiGetString(std::string& result, | 496 bool RestApiGetString(std::string& result, |
777 void UpdateSerialized(const Json::Value& serialized); | 790 void UpdateSerialized(const Json::Value& serialized); |
778 | 791 |
779 void UpdateProgress(float progress); | 792 void UpdateProgress(float progress); |
780 | 793 |
781 public: | 794 public: |
782 OrthancJob(const std::string& jobType); | 795 explicit OrthancJob(const std::string& jobType); |
783 | 796 |
784 virtual ~OrthancJob() | 797 virtual ~OrthancJob() |
785 { | 798 { |
786 } | 799 } |
787 | 800 |