]> Creatis software - gdcm.git/blobdiff - Example/TestChangeHeader.cxx
* src/ : rename some methods on Entry (SetXxx, InsertXxx) to have a better
[gdcm.git] / Example / TestChangeHeader.cxx
index 89073f51e87fcf8228feb3bb07bdfde2bc29b6f2..b8de5e276a62fe60d1ec0f780ac0ab049e0c5bf4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestChangeHeader.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/24 16:44:53 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2005/01/25 15:44:22 $
+  Version:   $Revision: 1.12 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -44,7 +44,7 @@ int main(int argc, char* argv[])
     if(matrix != "gdcm::Unfound")
     {
        std::cerr << "Aquisition Matrix:" << matrix << std::endl;
-       f1->GetFile()->Insert( matrix, 0x0018, 0x1310);
+       f1->GetFile()->InsertValEntry( matrix, 0x0018, 0x1310);
     }
 
     f1->GetImageData();