X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FTestDict.cxx;h=2a85a6c85e1d84e08172234501ded0ccec254132;hb=977b70320ec22c560eb92d4669b26455e0842b7b;hp=4dd71b144d06d74fa6e2964f006f7986211a972b;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/Testing/TestDict.cxx b/Testing/TestDict.cxx index 4dd71b14..2a85a6c8 100644 --- a/Testing/TestDict.cxx +++ b/Testing/TestDict.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestDict.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:30 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/11/29 17:08:54 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -96,18 +96,17 @@ int TestDict(int , char *[]) entry=pubDict->GetFirstEntry(); while(entry) { - std::cout << entry->GetGroup() << "|" << entry->GetElement() - << " [" << entry->GetVR() << "] - M" << entry->GetVM() - << " : " << entry->GetName() << " ( " << entry->GetKey() << ")\n"; + std::cout << std::hex << entry->GetGroup() << "|" << entry->GetElement() + << " [" << entry->GetVR() << "] - VM [" << entry->GetVM() + << "] : " << entry->GetName() << " ( " << entry->GetKey() << ")\n"; entry=pubDict->GetNextEntry(); } - // Let's play with DicEntry stuff ! - +/* // Let's play with DicEntry stuff ! // First, we try to break an Entry. entry=pubDict->GetFirstEntry(); entry->SetVR("PN"); - // Should warn us ! + // Should warn us !*/ return(0); }