diff OrthancServer/ParsedDicomFile.h @ 794:437c4a83d2cc

refactoring
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 06 May 2014 10:52:20 +0200
parents 145604a97914
children d466b3606aca
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.h	Tue May 06 10:28:04 2014 +0200
+++ b/OrthancServer/ParsedDicomFile.h	Tue May 06 10:52:20 2014 +0200
@@ -37,20 +37,15 @@
 #include "../Core/Toolbox.h"
 #include "ServerEnumerations.h"
 
-#include <memory>
-#include <dcmtk/dcmdata/dcfilefo.h>
-
 namespace Orthanc
 {
   class ParsedDicomFile : public IDynamicObject
   {
   private:
-    // TODO Move this as pimpl
-    std::auto_ptr<DcmFileFormat> file_;
-    //struct PImpl;
-    //PImpl* pimpl_;
+    struct PImpl;
+    PImpl* pimpl_;
 
-    ParsedDicomFile(DcmFileFormat& other);
+    ParsedDicomFile(ParsedDicomFile& other);
 
     void Setup(const char* content,
                size_t size);