X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FTestFromScratch.cxx;h=0c8f32fd746e9a55dc3bce770f4599d6be72de8a;hb=ebed5ba94d4839a2ef85f6a4c727dfb57816c00d;hp=b11919ccbc587d8d62120d1110cf02ad7bf25dbb;hpb=c094e185dd6404df031524ccae8e1b51e3b84871;p=gdcm.git diff --git a/Example/TestFromScratch.cxx b/Example/TestFromScratch.cxx index b11919cc..0c8f32fd 100644 --- a/Example/TestFromScratch.cxx +++ b/Example/TestFromScratch.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestFromScratch.cxx,v $ Language: C++ - Date: $Date: 2005/01/21 11:40:52 $ - Version: $Revision: 1.12 $ + Date: $Date: 2005/02/01 11:13:08 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -35,8 +35,9 @@ int main(int argc, char *argv[]) return 1; } - // Doesn't seems to do anything: - gdcm::Debug::SetDebugOn(); + + // Doesn't seem to do anything: + gdcm::Debug::DebugOn(); // Doesn't link properly: //gdcm::Debug::GetReference().SetDebug(1); @@ -62,11 +63,9 @@ int main(int argc, char *argv[]) // Do not bother with field from private dict if( v->GetName() != "gdcm::Unknown" ) { - h2->ReplaceOrCreate( - v->GetValue(), - v->GetGroup(), - v->GetElement(), - v->GetVR() ); + h2->InsertValEntry( v->GetValue(), + v->GetGroup(),v->GetElement(), + v->GetVR() ); } } //else