X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FFlatHashTablePrint.cxx;h=e7e806cc618281edf36ce9fd9561cfb53d56480d;hb=83e08556218295a7c84cf631b63389f17322ac7a;hp=c330dda8198d5ecef1192c615cac88fadf6e9b35;hpb=978f699b97794e209f9d20e2a33a72404bda54ef;p=gdcm.git diff --git a/Example/FlatHashTablePrint.cxx b/Example/FlatHashTablePrint.cxx index c330dda8..e7e806cc 100644 --- a/Example/FlatHashTablePrint.cxx +++ b/Example/FlatHashTablePrint.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: FlatHashTablePrint.cxx,v $ Language: C++ - Date: $Date: 2004/11/16 04:26:17 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/01/14 17:31:34 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,14 +16,15 @@ =========================================================================*/ #include "gdcmHeader.h" +#include "gdcmDocEntry.h" // Iterate on all the Dicom entries encountered in the gdcmFile (given // as line argument) and print them. This is an illustration of the // usage of \ref gdcmDocument::BuildFlatHashTable(). -int main(int argc, char* argv[]) +int main(int , char* []) { - if (argc < 2) +/* if (argc < 2) { std::cerr << "Usage :" << std::endl << argv[0] << " input_dicom " << std::endl; @@ -37,7 +38,8 @@ int main(int argc, char* argv[]) { tag->second->Print(); std::cout << std::endl; - } + }*/ + std::cout<<"Usefull example ???\n"; return 0; }