]> Creatis software - gdcm.git/blobdiff - src/gdcmUtil.h
* gdcmPython/gdcm.i:
[gdcm.git] / src / gdcmUtil.h
index 32f68172b2576a8fb58f541a8e969ea7fef2420e..08e26fb39feb817fa827201200f6a8972fecc073 100644 (file)
@@ -1,7 +1,13 @@
-// gdcmUtil.h
+// $Header: /cvs/public/gdcm/src/gdcmUtil.h,v 1.10 2003/05/21 16:26:28 regrain Exp $
+
+#ifndef GDCMUTIL_H
+#define GDCMUTIL_H
 
 #include <iostream>
-using namespace std;
+#include <vector>
+#include <string>
+#include "gdcmVR.h"
+#include "gdcmDictSet.h"
 
 class gdcmDebug {
 private:
@@ -15,6 +21,23 @@ public:
        void Exit(int);
 };
 
-istream & eatwhite(istream & is);
+class gdcmGlobal {
+private:
+   static gdcmVR *VR; 
+   static gdcmDictSet *Dicts; 
+public:
+   gdcmGlobal(void);
+   ~gdcmGlobal();
+   static gdcmVR * GetVR(void);
+   static gdcmDictSet * GetDicts(void);
+};
+
+std::istream & eatwhite(std::istream & is);
+
+void Tokenize (const std::string& str,
+               std::vector<std::string>& tokens,
+               const std::string& delimiters = " ");
 
 extern gdcmDebug dbg;
+
+#endif