X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestPrintAllDocument.cxx;h=fb2b178f1f82be1ab04c8b66792bf1e6b380463a;hb=ad620650da137b2efe17700b9595d62333940456;hp=d185ad73bc98f4b323029b0b0012b9a9f2f7c43f;hpb=1f8479f468762e8cdd0f8ee1df7f9d78b6cd0838;p=gdcm.git diff --git a/Testing/TestPrintAllDocument.cxx b/Testing/TestPrintAllDocument.cxx index d185ad73..fb2b178f 100644 --- a/Testing/TestPrintAllDocument.cxx +++ b/Testing/TestPrintAllDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPrintAllDocument.cxx,v $ Language: C++ - Date: $Date: 2005/06/02 09:38:53 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/06/08 04:01:41 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -64,7 +64,8 @@ int TestPrintAllDocument(int, char *[]) //std::cout << s.str() << gdcmDataImages[i]; std::cout << gdcmDataImages[i]; - for (unsigned int j=0; j<60-strlen(gdcmDataImages[i]); j++) + unsigned int j; + for ( j=0; j<60-strlen(gdcmDataImages[i]); j++) std::cout << " "; pixelType = e1->GetPixelType(); @@ -76,7 +77,7 @@ int TestPrintAllDocument(int, char *[]) photomInterp = e1->GetEntryValue(0x0028,0x0004); std::cout << " Photom.Interp.=" << photomInterp; - for (unsigned int j=0; jGetTransferSyntaxName() << "]" ;