]> Creatis software - gdcm.git/blobdiff - src/gdcmUtil.h
* Added python wrappers of vtkGdcmReader vtk class (see the
[gdcm.git] / src / gdcmUtil.h
index 4f19b3ae23966d62b26d944794c4fdef200105ce..cb9dcbd389ea8a9407a4fad58bb2f4bd799c6b3b 100644 (file)
@@ -1,4 +1,13 @@
+// gdcmUtil.h
+
+#ifndef GDCMUTIL_H
+#define GDCMUTIL_H
+
 #include <iostream>
+#include <vector>
+#include <string>
+#include "gdcmVR.h"
+#include "gdcmDictSet.h"
 using namespace std;
 
 class gdcmDebug {
@@ -13,6 +22,23 @@ public:
        void Exit(int);
 };
 
+class gdcmGlobal {
+private:
+   static gdcmVR *VR; 
+   static gdcmDictSet *Dicts; 
+public:
+   gdcmGlobal(void);
+   ~gdcmGlobal();
+   static gdcmVR * GetVR(void);
+   static gdcmDictSet * GetDicts(void);
+};
+
 istream & eatwhite(istream & is);
 
+void Tokenize (const string& str,
+               vector<string>& tokens,
+               const string& delimiters = " ");
+
 extern gdcmDebug dbg;
+
+#endif