Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp @ 4288:5b254bd435d3
fix for VS2008
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 04 Nov 2020 18:26:44 +0100 |
parents | 544120b34c09 |
children | fcbac3e8ac1c |
comparison
equal
deleted
inserted
replaced
4287:5a3374b6e707 | 4288:5b254bd435d3 |
---|---|
672 "Unable to send N-EVENT-REPORT request to AET: " + | 672 "Unable to send N-EVENT-REPORT request to AET: " + |
673 parameters.GetRemoteModality().GetApplicationEntityTitle()); | 673 parameters.GetRemoteModality().GetApplicationEntityTitle()); |
674 } | 674 } |
675 | 675 |
676 { | 676 { |
677 std::stringstream s; // This is necessary for VS2008 | 677 std::stringstream s; // DcmObject::PrintHelper cannot be used with VS2008 |
678 s << DcmObject::PrintHelper(dataset); | 678 dataset.print(s); |
679 | 679 |
680 OFString str; | 680 OFString str; |
681 CLOG(TRACE, DICOM) << "Sending Storage Commitment Report:" << std::endl | 681 CLOG(TRACE, DICOM) << "Sending Storage Commitment Report:" << std::endl |
682 << DIMSE_dumpMessage(str, message, DIMSE_OUTGOING) << std::endl | 682 << DIMSE_dumpMessage(str, message, DIMSE_OUTGOING) << std::endl |
683 << s.str(); | 683 << s.str(); |
835 "Unable to send N-ACTION request to AET: " + | 835 "Unable to send N-ACTION request to AET: " + |
836 parameters.GetRemoteModality().GetApplicationEntityTitle()); | 836 parameters.GetRemoteModality().GetApplicationEntityTitle()); |
837 } | 837 } |
838 | 838 |
839 { | 839 { |
840 std::stringstream s; // This is necessary for VS2008 | 840 std::stringstream s; // DcmObject::PrintHelper cannot be used with VS2008 |
841 s << DcmObject::PrintHelper(dataset); | 841 dataset.print(s); |
842 | 842 |
843 OFString str; | 843 OFString str; |
844 CLOG(TRACE, DICOM) << "Sending Storage Commitment Request:" << std::endl | 844 CLOG(TRACE, DICOM) << "Sending Storage Commitment Request:" << std::endl |
845 << DIMSE_dumpMessage(str, message, DIMSE_OUTGOING) << std::endl | 845 << DIMSE_dumpMessage(str, message, DIMSE_OUTGOING) << std::endl |
846 << s.str(); | 846 << s.str(); |