]> Creatis software - gdcm.git/blobdiff - src/gdcmTS.cxx
ENH: Adding automatic testing
[gdcm.git] / src / gdcmTS.cxx
index 531c4ee76e04d7781002a7ad2b044261190395ed..8946c61a9a95d6b47bbc2fc88ffc3f3bfabc68dc 100644 (file)
@@ -1,22 +1,25 @@
 // gdcmTS.cxx
 //-----------------------------------------------------------------------------
 #include <fstream>
+#include <string>
+#include <iostream>
+#ifdef GDCM_NO_ANSI_STRING_STREAM
+#  include <strstream>
+#  define  ostringstream ostrstream
+# else
+#  include <sstream>
+#endif
 
 #include "gdcmTS.h"
+#include "gdcmDebug.h"
 #include "gdcmUtil.h"
+#include "gdcmDictSet.h"
 
 #ifndef PUB_DICT_PATH
 #  define PUB_DICT_PATH     "../Dicts/"
 #endif
 #define DICT_TS "dicomTS.dic"
 
-#include <iostream>
-#ifdef GDCM_NO_ANSI_STRING_STREAM
-#  include <strstream>
-#  define  ostringstream ostrstream
-# else
-#  include <sstream>
-#endif
 
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
@@ -34,6 +37,7 @@ gdcmTS::gdcmTS(void)
       eatwhite(from);
       from.getline(buff, 1024, ' ');
       key = buff;
+
       eatwhite(from);
       from.getline(buff, 1024, '\n');
       name = buff;