X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestPrintAllDocument.cxx;h=9d8efd81fb266db207d35738b32ee2a7fbcd7b41;hb=263b53652122a88a40c02f6596b0c220c67932a1;hp=1b19d7949119d86f5ad1f0449dc826fa048bca12;hpb=ca7638110ded9d3f5283be33b6be6442b397a38f;p=gdcm.git diff --git a/Testing/TestPrintAllDocument.cxx b/Testing/TestPrintAllDocument.cxx index 1b19d794..9d8efd81 100644 --- a/Testing/TestPrintAllDocument.cxx +++ b/Testing/TestPrintAllDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPrintAllDocument.cxx,v $ Language: C++ - Date: $Date: 2006/04/07 10:58:51 $ - Version: $Revision: 1.13 $ + Date: $Date: 2007/06/21 14:59:06 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -67,7 +67,7 @@ int TestPrintAllDocument(int argc, char *argv[]) std::cout << " ----------------------------------------------" << "Begin with " << filename << std::endl; - gdcm::File *f= gdcm::File::New( ); + GDCM_NAME_SPACE::File *f= GDCM_NAME_SPACE::File::New( ); f->SetFileName( filename ); f->Load(); @@ -112,11 +112,11 @@ int TestPrintAllDocument(int argc, char *argv[]) std::string strImageOrientationPatient = f->GetEntryString(0x0020,0x0037); - if ( strImageOrientationPatient != gdcm::GDCM_UNFOUND ) + if ( strImageOrientationPatient != GDCM_NAME_SPACE::GDCM_UNFOUND ) { - gdcm::Orientation *o = gdcm::Orientation::New(); + GDCM_NAME_SPACE::Orientation *o = GDCM_NAME_SPACE::Orientation::New(); - gdcm::OrientationType orient = o->GetOrientationType( f ); + GDCM_NAME_SPACE::OrientationType orient = o->GetOrientationType( f ); std::cout << " ---------------------- Orientation " << orient << std::endl; o->Delete();