X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestPrintAllDocument.cxx;h=23d5e817bc20dd66275112377a71364bd90a65b0;hb=4552d4ee18f3234af4e037e77abf0622c2702004;hp=9d8efd81fb266db207d35738b32ee2a7fbcd7b41;hpb=a62b5eb4984601395f2e1296045bacd693ef860d;p=gdcm.git diff --git a/Testing/TestPrintAllDocument.cxx b/Testing/TestPrintAllDocument.cxx index 9d8efd81..23d5e817 100644 --- a/Testing/TestPrintAllDocument.cxx +++ b/Testing/TestPrintAllDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPrintAllDocument.cxx,v $ Language: C++ - Date: $Date: 2007/06/21 14:59:06 $ - Version: $Revision: 1.14 $ + Date: $Date: 2008/09/15 15:49:21 $ + Version: $Revision: 1.18 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -45,10 +45,10 @@ int TestPrintAllDocument(int argc, char *argv[]) int swapC; unsigned int j; std::string pixelType, photomInterp; - int l; + unsigned int l; l = strlen("PALETTE COLOR "); - //gdcm::Debug::DebugOn(); + //GDCM_NAME_SPACE::Debug::DebugOn(); while( gdcmDataImages[i] != 0 ) { @@ -94,11 +94,13 @@ int TestPrintAllDocument(int argc, char *argv[]) std::cout << " "; std::cout << " Smpl.P.Pix.=" << f->GetSamplesPerPixel() << " Plan.Config.=" << f->GetPlanarConfiguration(); - + photomInterp = f->GetEntryString(0x0028,0x0004); - std::cout << " Photom.Interp.=" << photomInterp; - for (j=0; j photomInterp.length()) + for (j=0; jGetTransferSyntaxName() << "]" ;