X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FPrintDicomDir.cxx;h=f4bbd4474f5845648b95d820b4b8b57a5f0955e1;hb=e8caac199c2683cb0f118c42c61dc6aec85b1eec;hp=0fd1386623117d9ff91b35f626c8bd0a4d1b0e61;hpb=f5c6165e85bd1bc727e0b73e2abd3302855cce16;p=gdcm.git diff --git a/Example/PrintDicomDir.cxx b/Example/PrintDicomDir.cxx index 0fd13866..f4bbd447 100644 --- a/Example/PrintDicomDir.cxx +++ b/Example/PrintDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintDicomDir.cxx,v $ Language: C++ - Date: $Date: 2005/01/13 14:20:18 $ - Version: $Revision: 1.12 $ + Date: $Date: 2005/01/13 14:56:39 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -59,11 +59,24 @@ int main(int argc, char* argv[]) else detailLevel = 3; + if( !e1->IsReadable() ) + { + std::cout<<" DicomDir '"<GetDicomDirPatients().begin() == e1->GetDicomDirPatients().end() ) { - std::cout<<"Empty list"<