comparison UnitTestsSources/FromDcmtkTests.cpp @ 3767:c6658187e4b1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Mar 2020 14:46:06 +0100
parents 113a7b994a12
children 66e18aad0654 ab9a0d1e0cc1
comparison
equal deleted inserted replaced
3763:5ff5d5a0fd28 3767:c6658187e4b1
2213 std::string s; 2213 std::string s;
2214 //SystemToolbox::ReadFile(s, "/home/jodogne/Subversion/orthanc-tests/Database/TransferSyntaxes/1.2.840.10008.1.2.4.50.dcm"); 2214 //SystemToolbox::ReadFile(s, "/home/jodogne/Subversion/orthanc-tests/Database/TransferSyntaxes/1.2.840.10008.1.2.4.50.dcm");
2215 //SystemToolbox::ReadFile(s, "/home/jodogne/DICOM/Alain.dcm"); 2215 //SystemToolbox::ReadFile(s, "/home/jodogne/DICOM/Alain.dcm");
2216 SystemToolbox::ReadFile(s, "/home/jodogne/Subversion/orthanc-tests/Database/Brainix/Epi/IM-0001-0002.dcm"); 2216 SystemToolbox::ReadFile(s, "/home/jodogne/Subversion/orthanc-tests/Database/Brainix/Epi/IM-0001-0002.dcm");
2217 2217
2218 std::auto_ptr<DcmFileFormat> dicom(FromDcmtkBridge::LoadFromMemoryBuffer(s.c_str(), s.size())); 2218 std::unique_ptr<DcmFileFormat> dicom(FromDcmtkBridge::LoadFromMemoryBuffer(s.c_str(), s.size()));
2219 2219
2220 // less /home/jodogne/Downloads/dcmtk-3.6.4/dcmdata/include/dcmtk/dcmdata/dcxfer.h 2220 // less /home/jodogne/Downloads/dcmtk-3.6.4/dcmdata/include/dcmtk/dcmdata/dcxfer.h
2221 printf(">> %d\n", dicom->getDataset()->getOriginalXfer()); // => 4 == EXS_JPEGProcess1 2221 printf(">> %d\n", dicom->getDataset()->getOriginalXfer()); // => 4 == EXS_JPEGProcess1
2222 2222
2223 const DcmRepresentationParameter *p; 2223 const DcmRepresentationParameter *p;