diff OrthancServer/ParsedDicomFile.cpp @ 792:111a1738e11e

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 06 May 2014 09:57:39 +0200
parents 381f90e2b69d
children 145604a97914
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp	Mon May 05 22:44:34 2014 +0200
+++ b/OrthancServer/ParsedDicomFile.cpp	Tue May 06 09:57:39 2014 +0200
@@ -1053,4 +1053,16 @@
       Setup(&content[0], content.size());
     }
   }
+
+
+  ParsedDicomFile::ParsedDicomFile(DcmFileFormat& other) :
+    file_(dynamic_cast<DcmFileFormat*>(other.clone()))
+  {
+  }
+
+
+  ParsedDicomFile::~ParsedDicomFile()
+  {
+  }
+
 }