]> Creatis software - gdcm.git/blobdiff - Testing/TestLoadAllDocumentsNoPrivNoSeq.cxx
Speed up -a little bit- the Loading, avoiding to parse any Sequence, not only
[gdcm.git] / Testing / TestLoadAllDocumentsNoPrivNoSeq.cxx
index 1ebb32ba3ab964103b68f2ff25a54f83a20467dd..42a337aed7759e383d86b92249474d80b3fa326e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestLoadAllDocumentsNoPrivNoSeq.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/09/22 08:41:27 $
-  Version:   $Revision: 1.1 $
+  Date:      $Date: 2005/10/18 08:35:46 $
+  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
 #include "gdcmFile.h"
 #include "gdcmUtil.h"
 #include "gdcmCommon.h"
-#include "gdcmBinEntry.h"  
 #include "gdcmDocEntry.h" 
 #include "gdcmDocEntrySet.h"           
 #include "gdcmDocument.h"          
 #include "gdcmElementSet.h"        
 #include "gdcmSeqEntry.h" 
 #include "gdcmSQItem.h" 
-#include "gdcmValEntry.h" 
 #include "gdcmOrientation.h"
+
 #include <fstream>
 #include <iostream>
 #include <iomanip> // for std::ios::left, ...
@@ -47,8 +46,8 @@ int TestLoadAllDocumentsNoPrivNoSeq(int, char *[])
    //int swapC;
    //unsigned int j;
    std::string pixelType, photomInterp;
-   int l;
-   l = strlen("PALETTE COLOR ");
+   //int l;
+   //l = strlen("PALETTE COLOR ");
    while( gdcmDataImages[i] != 0 )
    {
       std::string filename = GDCM_DATA_ROOT;