X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestBug.cxx;h=6cc2340444039232375bd350571d1152efb69120;hb=e0522a941acba1064185ac1f723ed43ff3c3a360;hp=6b398d24453f7bcfe93875ae2b8a77b9d72fb592;hpb=97e9810ce62ec157c6f9318dee76b566e67f8bb6;p=gdcm.git diff --git a/Testing/TestBug.cxx b/Testing/TestBug.cxx index 6b398d24..6cc23404 100644 --- a/Testing/TestBug.cxx +++ b/Testing/TestBug.cxx @@ -4,7 +4,7 @@ #include "gdcm.h" -int PrintBug(int argc, char* argv[]) +int TestBug(int argc, char* argv[]) { gdcmHeader* e1; @@ -15,7 +15,9 @@ int PrintBug(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; }