]> Creatis software - gdcm.git/blobdiff - Example/TestChangeHeader.cxx
* Minor coding-style clean up
[gdcm.git] / Example / TestChangeHeader.cxx
index bbc4d6fae8a5a54857d1457e30275cebe8e5b752..95bfbf882a6baab124d455706f0db42bbb76ce51 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestChangeHeader.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/07/08 12:02:02 $
-  Version:   $Revision: 1.15 $
+  Date:      $Date: 2005/10/18 08:35:43 $
+  Version:   $Revision: 1.16 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -47,11 +47,11 @@ int main(int argc, char *argv[])
        f2->GetFile()->GetPubDict()->GetEntry( 0x0018, 1310 );
     std::cerr << std::hex << dictEntry->GetGroup() << "," << dictEntry->GetElement() << std::endl;
 
-    std::string matrix = f2->GetFile()->GetEntryValue(0x0018, 0x1310);
+    std::string matrix = f2->GetFile()->GetEntryString(0x0018, 0x1310);
     if(matrix != "gdcm::Unfound")
     {
        std::cerr << "Aquisition Matrix:" << matrix << std::endl;
-       f1->GetFile()->InsertValEntry( matrix, 0x0018, 0x1310);
+       f1->GetFile()->InsertEntryString( matrix, 0x0018, 0x1310);
     }
 
     f1->GetImageData();