X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestBug.cxx;h=4f5b7a282d0270e93b30dcf4ff29a477d96b0990;hb=c2b3580da1973367361ed5f14f7fe227bd00eb1e;hp=4f918c73443817df78a3bf81a337338a7a6bdc57;hpb=c094e185dd6404df031524ccae8e1b51e3b84871;p=gdcm.git diff --git a/Testing/TestBug.cxx b/Testing/TestBug.cxx index 4f918c73..4f5b7a28 100644 --- a/Testing/TestBug.cxx +++ b/Testing/TestBug.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestBug.cxx,v $ Language: C++ - Date: $Date: 2005/01/21 11:40:54 $ - Version: $Revision: 1.18 $ + Date: $Date: 2005/02/02 10:05:26 $ + Version: $Revision: 1.19 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,9 +21,9 @@ #include "gdcmFile.h" -int TestBug(int argc, char* argv[]) +int TestBug(int argc, char *argv[]) { - gdcm::File* e1; + gdcm::File *e1; if (argc > 1) e1 = new gdcm::File( argv[1] ); @@ -32,8 +32,7 @@ int TestBug(int argc, char* argv[]) filename += "/test.acr"; e1 = new gdcm::File( filename.c_str() ); } - //e1->PrintPubDict(); - //e1->GetPubDict()->GetEntriesByKey(); + e1->GetPubDict()->Print(); delete e1;