X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestBug.cxx;h=6f87e0ad21a081d4eeb4ca8a0b108f59208defa1;hb=1ce3c187fd42db21539066a0ec8df1599e16eba2;hp=a8e55d475f0947fc7f02fb64ccf80268618f9f0b;hpb=9beed66b98b296f245317f0b18166c3be96a6b3b;p=gdcm.git diff --git a/Testing/TestBug.cxx b/Testing/TestBug.cxx index a8e55d47..6f87e0ad 100644 --- a/Testing/TestBug.cxx +++ b/Testing/TestBug.cxx @@ -7,7 +7,7 @@ int TestBug(int argc, char* argv[]) { gdcmHeader* e1; - + if (argc > 1) e1 = new gdcmHeader( argv[1] ); else { @@ -15,7 +15,9 @@ int TestBug(int argc, char* argv[]) filename += "/test.acr"; e1 = new gdcmHeader( filename.c_str() ); } - e1->PrintPubDict(); + //e1->PrintPubDict(); + //e1->GetPubDict()->GetEntriesByKey(); + e1->GetPubDict()->PrintByKey(); return 0; }