X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestDict.cxx;h=6d5b4e207fe7bf7a3dde828beb0486c14b4ffda8;hb=6a5e202852e6e151cc918cce3ed017e4fb1a7ef5;hp=c85556867871211d25f79b0ec32341bcedae602d;hpb=2d904af67885813204df40d1eae7c3067784a9d5;p=gdcm.git diff --git a/Testing/TestDict.cxx b/Testing/TestDict.cxx index c8555686..6d5b4e20 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/01/17 14:18:48 $ - Version: $Revision: 1.3 $ + Date: $Date: 2005/01/18 07:56:21 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -36,8 +36,7 @@ int TestDict(int , char* []) std::cout<<"DictSet content :\n"; - dicts->InitTraversal(); - gdcm::Dict *d = dicts->GetNextEntry(); + gdcm::Dict *d = dicts->GetFirstEntry(); if (!d) { std::cout << "Dictset is empty" << std::endl; @@ -77,8 +76,7 @@ int TestDict(int , char* []) // Print all the DictEntry std::cout<<"#######################################################\n"; - pubDict->InitTraversal(); - entry=pubDict->GetNextEntry(); + entry=pubDict->GetFirstEntry(); while(entry) { entry->Print();