From: jpr Date: Wed, 27 Apr 2005 14:54:56 +0000 (+0000) Subject: PrintFile gives now an accurate output for 'non gdcm::File readable' docomuments X-Git-Tag: Version1.2.bp~743 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=52ba6bb4e5637b596243b4efd4b24de0dfebe88f;p=gdcm.git PrintFile gives now an accurate output for 'non gdcm::File readable' docomuments that are 'non gdcm::Document readable' --- diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index 91c2ff42..d2d4cd85 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/04/26 16:21:55 $ - Version: $Revision: 1.32 $ + Date: $Date: 2005/04/27 14:54:56 $ + Version: $Revision: 1.33 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -49,7 +49,7 @@ int main(int argc, char *argv[]) e1->SetLoadMode(NO_SEQ | NO_SHADOW); e1->Load( fileName.c_str() ); - if ( !e1->IsReadable() ) + if ( !e1->gdcm::Document::IsReadable() ) { delete e1; return 0;