]> Creatis software - gdcm.git/blobdiff - src/gdcmTS.cxx
reintroduce testing
[gdcm.git] / src / gdcmTS.cxx
index 469247c6e7c209c292a84614905fb78e25e04596..0712d1db9705799b46dfdb7d8e15d63227a8f64d 100644 (file)
@@ -1,22 +1,15 @@
 // gdcmTS.cxx
 //-----------------------------------------------------------------------------
 #include <fstream>
+#include <string>
+#include <iostream>
 
 #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
@@ -35,12 +28,6 @@ gdcmTS::gdcmTS(void)
       from.getline(buff, 1024, ' ');
       key = buff;
 
-      if(key.size()%2==1)
-      {
-       key.resize(key.size()+1);
-         key[key.size()-1]=0;
-      }
-       
       eatwhite(from);
       from.getline(buff, 1024, '\n');
       name = buff;