]> Creatis software - gdcm.git/blobdiff - src/gdcmContentEntry.cxx
Cosmetics
[gdcm.git] / src / gdcmContentEntry.cxx
index 3afeb1a313d5e6d128d3383dd643d20cd4ef294c..d48ac1c2e636abdd81dce78d57aeda0e16f7834a 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmContentEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/26 14:56:38 $
-  Version:   $Revision: 1.5 $
+  Date:      $Date: 2005/01/28 15:10:56 $
+  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
@@ -58,6 +58,14 @@ ContentEntry::~ContentEntry ()
 
 //-----------------------------------------------------------------------------
 // Public
+void ContentEntry::Copy(DocEntry *doc)
+{
+   DocEntry::Copy(doc);
+
+   ContentEntry *entry = dynamic_cast<ContentEntry *>(doc);
+   if(entry)
+      Value = entry->Value;
+}
 
 //-----------------------------------------------------------------------------
 // Protected