X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FFlatHashTablePrint.cxx;h=183ec8c1857f4561ab35fe6009cc528d2043fbec;hb=62b1afb2374f91e85cf82a3a6ec7593a359236b6;hp=fd134640c5e3f1309a580a001afc6b78d3e8a2d7;hpb=c094e185dd6404df031524ccae8e1b51e3b84871;p=gdcm.git diff --git a/Example/FlatHashTablePrint.cxx b/Example/FlatHashTablePrint.cxx index fd134640..183ec8c1 100644 --- a/Example/FlatHashTablePrint.cxx +++ b/Example/FlatHashTablePrint.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: FlatHashTablePrint.cxx,v $ Language: C++ - Date: $Date: 2005/01/21 11:40:52 $ - Version: $Revision: 1.8 $ + Date: $Date: 2005/02/02 10:06:31 $ + Version: $Revision: 1.9 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -22,7 +22,7 @@ // as line argument) and print them. This is an illustration of the // usage of \ref gdcmDocument::BuildFlatHashTable(). -int main(int , char* []) +int main(int, char*[]) { /* if (argc < 2) { @@ -31,8 +31,8 @@ int main(int , char* []) return 1; } - gdcm::File* header = new gdcm::File( argv[1] ); - gdcm::TagDocEntryHT* Ht = header->BuildFlatHashTable(); + gdcm::File *header = new gdcm::File( argv[1] ); + gdcm::TagDocEntryHT *Ht = header->BuildFlatHashTable(); for (gdcm::TagDocEntryHT::iterator tag = Ht->begin(); tag != Ht->end(); ++tag) {