Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 4223:3d6f14a05db1
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Sep 2020 16:25:48 +0200 |
parents | 318c16cfccab |
children | 0ae2ca210077 |
comparison
equal
deleted
inserted
replaced
4222:7461f98c23a0 | 4223:3d6f14a05db1 |
---|---|
728 private: | 728 private: |
729 _OrthancPluginChunkedRestCallback parameters_; | 729 _OrthancPluginChunkedRestCallback parameters_; |
730 boost::regex regex_; | 730 boost::regex regex_; |
731 | 731 |
732 public: | 732 public: |
733 explicit ChunkedRestCallback(_OrthancPluginChunkedRestCallback parameters) : | 733 explicit ChunkedRestCallback(const _OrthancPluginChunkedRestCallback& parameters) : |
734 parameters_(parameters), | 734 parameters_(parameters), |
735 regex_(parameters.pathRegularExpression) | 735 regex_(parameters.pathRegularExpression) |
736 { | 736 { |
737 } | 737 } |
738 | 738 |
757 private: | 757 private: |
758 _OrthancPluginRegisterStorageCommitmentScpCallback parameters_; | 758 _OrthancPluginRegisterStorageCommitmentScpCallback parameters_; |
759 void* handler_; | 759 void* handler_; |
760 | 760 |
761 public: | 761 public: |
762 Handler(_OrthancPluginRegisterStorageCommitmentScpCallback parameters, | 762 Handler(const _OrthancPluginRegisterStorageCommitmentScpCallback& parameters, |
763 void* handler) : | 763 void* handler) : |
764 parameters_(parameters), | 764 parameters_(parameters), |
765 handler_(handler) | 765 handler_(handler) |
766 { | 766 { |
767 if (handler == NULL) | 767 if (handler == NULL) |
798 }; | 798 }; |
799 | 799 |
800 _OrthancPluginRegisterStorageCommitmentScpCallback parameters_; | 800 _OrthancPluginRegisterStorageCommitmentScpCallback parameters_; |
801 | 801 |
802 public: | 802 public: |
803 explicit StorageCommitmentScp(_OrthancPluginRegisterStorageCommitmentScpCallback parameters) : | 803 explicit StorageCommitmentScp(const _OrthancPluginRegisterStorageCommitmentScpCallback& parameters) : |
804 parameters_(parameters) | 804 parameters_(parameters) |
805 { | 805 { |
806 } | 806 } |
807 | 807 |
808 virtual ILookupHandler* CreateStorageCommitment( | 808 virtual ILookupHandler* CreateStorageCommitment( |