Mercurial > hg > orthanc
comparison OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h @ 657:5425bb6f1ea5
further cppcheck fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Nov 2013 11:46:23 +0100 |
parents | 0526d6246cc3 |
children | f0232774b913 |
comparison
equal
deleted
inserted
replaced
656:08eca5d86aad | 657:5425bb6f1ea5 |
---|---|
596 * | 596 * |
597 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. | 597 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. |
598 * | 598 * |
599 * @param other The original object. | 599 * @param other The original object. |
600 **/ | 600 **/ |
601 OrthancConnection(const OrthancConnection& other) : pimpl_(other.pimpl_), isReference_(true) { } | 601 OrthancConnection(const OrthancConnection& other) : isReference_(true), pimpl_(other.pimpl_) { } |
602 inline OrthancConnection(const ::std::string& orthancUrl); | 602 inline OrthancConnection(const ::std::string& orthancUrl); |
603 inline OrthancConnection(const ::std::string& orthancUrl, const ::std::string& username, const ::std::string& password); | 603 inline OrthancConnection(const ::std::string& orthancUrl, const ::std::string& username, const ::std::string& password); |
604 inline ~OrthancConnection(); | 604 inline ~OrthancConnection(); |
605 inline LAAW_UINT32 GetThreadCount() const; | 605 inline LAAW_UINT32 GetThreadCount() const; |
606 inline void SetThreadCount(LAAW_UINT32 threadCount); | 606 inline void SetThreadCount(LAAW_UINT32 threadCount); |
639 * | 639 * |
640 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. | 640 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. |
641 * | 641 * |
642 * @param other The original object. | 642 * @param other The original object. |
643 **/ | 643 **/ |
644 Patient(const Patient& other) : pimpl_(other.pimpl_), isReference_(true) { } | 644 Patient(const Patient& other) : isReference_(true), pimpl_(other.pimpl_) { } |
645 inline Patient(::OrthancClient::OrthancConnection& connection, const ::std::string& id); | 645 inline Patient(::OrthancClient::OrthancConnection& connection, const ::std::string& id); |
646 inline ~Patient(); | 646 inline ~Patient(); |
647 inline void Reload(); | 647 inline void Reload(); |
648 inline LAAW_UINT32 GetStudyCount(); | 648 inline LAAW_UINT32 GetStudyCount(); |
649 inline ::OrthancClient::Study GetStudy(LAAW_UINT32 index); | 649 inline ::OrthancClient::Study GetStudy(LAAW_UINT32 index); |
677 * | 677 * |
678 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. | 678 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. |
679 * | 679 * |
680 * @param other The original object. | 680 * @param other The original object. |
681 **/ | 681 **/ |
682 Series(const Series& other) : pimpl_(other.pimpl_), isReference_(true) { } | 682 Series(const Series& other) : isReference_(true), pimpl_(other.pimpl_) { } |
683 inline Series(::OrthancClient::OrthancConnection& connection, const ::std::string& id); | 683 inline Series(::OrthancClient::OrthancConnection& connection, const ::std::string& id); |
684 inline ~Series(); | 684 inline ~Series(); |
685 inline void Reload(); | 685 inline void Reload(); |
686 inline LAAW_UINT32 GetInstanceCount(); | 686 inline LAAW_UINT32 GetInstanceCount(); |
687 inline ::OrthancClient::Instance GetInstance(LAAW_UINT32 index); | 687 inline ::OrthancClient::Instance GetInstance(LAAW_UINT32 index); |
724 * | 724 * |
725 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. | 725 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. |
726 * | 726 * |
727 * @param other The original object. | 727 * @param other The original object. |
728 **/ | 728 **/ |
729 Study(const Study& other) : pimpl_(other.pimpl_), isReference_(true) { } | 729 Study(const Study& other) : isReference_(true), pimpl_(other.pimpl_) { } |
730 inline Study(::OrthancClient::OrthancConnection& connection, const ::std::string& id); | 730 inline Study(::OrthancClient::OrthancConnection& connection, const ::std::string& id); |
731 inline ~Study(); | 731 inline ~Study(); |
732 inline void Reload(); | 732 inline void Reload(); |
733 inline LAAW_UINT32 GetSeriesCount(); | 733 inline LAAW_UINT32 GetSeriesCount(); |
734 inline ::OrthancClient::Series GetSeries(LAAW_UINT32 index); | 734 inline ::OrthancClient::Series GetSeries(LAAW_UINT32 index); |
762 * | 762 * |
763 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. | 763 * Construct a new reference to this object. Pay attention to the fact that when the referenced object is deleted, the content of this object will be invalid. |
764 * | 764 * |
765 * @param other The original object. | 765 * @param other The original object. |
766 **/ | 766 **/ |
767 Instance(const Instance& other) : pimpl_(other.pimpl_), isReference_(true) { } | 767 Instance(const Instance& other) : isReference_(true), pimpl_(other.pimpl_) { } |
768 inline Instance(::OrthancClient::OrthancConnection& connection, const ::std::string& id); | 768 inline Instance(::OrthancClient::OrthancConnection& connection, const ::std::string& id); |
769 inline ~Instance(); | 769 inline ~Instance(); |
770 inline ::std::string GetId() const; | 770 inline ::std::string GetId() const; |
771 inline void SetImageExtractionMode(::Orthanc::ImageExtractionMode mode); | 771 inline void SetImageExtractionMode(::Orthanc::ImageExtractionMode mode); |
772 inline ::Orthanc::ImageExtractionMode GetImageExtractionMode() const; | 772 inline ::Orthanc::ImageExtractionMode GetImageExtractionMode() const; |
830 { | 830 { |
831 if (isReference_) return; | 831 if (isReference_) return; |
832 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); | 832 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); |
833 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(2); | 833 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(2); |
834 char* error = function(pimpl_); | 834 char* error = function(pimpl_); |
835 ::OrthancClient::Internals::Library::GetInstance().ThrowExceptionIfNeeded(error); | 835 error = error; // Remove warning about unused variable |
836 } | 836 } |
837 /** | 837 /** |
838 * @brief Returns the number of threads for this connection. | 838 * @brief Returns the number of threads for this connection. |
839 * | 839 * |
840 * Returns the number of simultaneous connections that are used when downloading information from this instance of %Orthanc. | 840 * Returns the number of simultaneous connections that are used when downloading information from this instance of %Orthanc. |
1000 { | 1000 { |
1001 if (isReference_) return; | 1001 if (isReference_) return; |
1002 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); | 1002 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); |
1003 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(13); | 1003 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(13); |
1004 char* error = function(pimpl_); | 1004 char* error = function(pimpl_); |
1005 ::OrthancClient::Internals::Library::GetInstance().ThrowExceptionIfNeeded(error); | 1005 error = error; // Remove warning about unused variable |
1006 } | 1006 } |
1007 /** | 1007 /** |
1008 * @brief Reload the studies of this patient. | 1008 * @brief Reload the studies of this patient. |
1009 * | 1009 * |
1010 * This method will reload the list of the studies of this patient. Pay attention to the fact that the studies that have been previously returned by GetStudy() will be invalidated. | 1010 * This method will reload the list of the studies of this patient. Pay attention to the fact that the studies that have been previously returned by GetStudy() will be invalidated. |
1114 { | 1114 { |
1115 if (isReference_) return; | 1115 if (isReference_) return; |
1116 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); | 1116 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); |
1117 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(20); | 1117 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(20); |
1118 char* error = function(pimpl_); | 1118 char* error = function(pimpl_); |
1119 ::OrthancClient::Internals::Library::GetInstance().ThrowExceptionIfNeeded(error); | 1119 error = error; // Remove warning about unused variable |
1120 } | 1120 } |
1121 /** | 1121 /** |
1122 * @brief Reload the instances of this series. | 1122 * @brief Reload the instances of this series. |
1123 * | 1123 * |
1124 * This method will reload the list of the instances of this series. Pay attention to the fact that the instances that have been previously returned by GetInstance() will be invalidated. | 1124 * This method will reload the list of the instances of this series. Pay attention to the fact that the instances that have been previously returned by GetInstance() will be invalidated. |
1375 { | 1375 { |
1376 if (isReference_) return; | 1376 if (isReference_) return; |
1377 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); | 1377 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); |
1378 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(36); | 1378 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(36); |
1379 char* error = function(pimpl_); | 1379 char* error = function(pimpl_); |
1380 ::OrthancClient::Internals::Library::GetInstance().ThrowExceptionIfNeeded(error); | 1380 error = error; // Remove warning about unused variable |
1381 } | 1381 } |
1382 /** | 1382 /** |
1383 * @brief Reload the series of this study. | 1383 * @brief Reload the series of this study. |
1384 * | 1384 * |
1385 * This method will reload the list of the series of this study. Pay attention to the fact that the series that have been previously returned by GetSeries() will be invalidated. | 1385 * This method will reload the list of the series of this study. Pay attention to the fact that the series that have been previously returned by GetSeries() will be invalidated. |
1489 { | 1489 { |
1490 if (isReference_) return; | 1490 if (isReference_) return; |
1491 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); | 1491 typedef char* (LAAW_ORTHANC_CLIENT_CALL_CONV* Function) (void*); |
1492 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(43); | 1492 Function function = (Function) ::OrthancClient::Internals::Library::GetInstance().GetFunction(43); |
1493 char* error = function(pimpl_); | 1493 char* error = function(pimpl_); |
1494 ::OrthancClient::Internals::Library::GetInstance().ThrowExceptionIfNeeded(error); | 1494 error = error; // Remove warning about unused variable |
1495 } | 1495 } |
1496 /** | 1496 /** |
1497 * @brief Get the %Orthanc identifier of this identifier. | 1497 * @brief Get the %Orthanc identifier of this identifier. |
1498 * | 1498 * |
1499 * Get the %Orthanc identifier of this identifier. | 1499 * Get the %Orthanc identifier of this identifier. |