1 /*=========================================================================
4 Module: $RCSfile: TestAllPrint.cxx,v $
6 Date: $Date: 2008/09/15 15:49:21 $
7 Version: $Revision: 1.8 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
19 // TODO : check what's *actually* usefull
21 #include "gdcmDictEntry.h"
23 #include "gdcmDictSet.h"
25 #include "gdcmFileHelper.h"
27 #include "gdcmCommon.h"
28 #include "gdcmDocEntry.h"
29 #include "gdcmDocEntrySet.h"
30 #include "gdcmDocument.h"
31 #include "gdcmElementSet.h"
32 #include "gdcmSeqEntry.h"
33 #include "gdcmSQItem.h"
38 #include "gdcmDataImages.h"
40 int TestAllPrint(int, char *[])
44 while( gdcmDataImages[i] != 0 )
46 std::string filename = GDCM_DATA_ROOT;
48 filename += gdcmDataImages[i];
50 GDCM_NAME_SPACE::File file;
51 //file.SetLoadMode( GDCM_NAME_SPACE::LD_NOSEQ | GDCM_NAME_SPACE::LD_NOSHADOWSEQ );
52 file.SetFileName( filename );
55 //file.Print( std::cout ); //just for debug