]> Creatis software - gdcm.git/blobdiff - Example/TestWrite.cxx
Stage 3 of normalization :
[gdcm.git] / Example / TestWrite.cxx
index a34d618c8a7b6e66b020739e9d27b23659508bef..8fce916bd8c3f2f342a1f84a062fb49a58ea538f 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestWrite.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/21 11:40:52 $
-  Version:   $Revision: 1.16 $
+  Date:      $Date: 2005/01/24 16:10:49 $
+  Version:   $Revision: 1.17 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -93,7 +93,7 @@ int main(int argc, char *argv[])
              << " SampleserPixel="      << sPP
              << " PlanarConfiguration=" << planarConfig 
              << " PhotometricInterpretation=" 
-                                << e1->GetEntry(0x0028,0x0004) 
+                                << e1->GetEntryValue(0x0028,0x0004) 
              << std::endl;
 
    int numberOfScalarComponents=e1->GetNumberOfScalarComponents();