X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=325bde910b5bdf53f33cb03e3b8ce960b633d05c;hb=541ed5b2824ff14630565a474b1406e58b677662;hp=3432bf933ae2ecfd2f3fa33e50ccde5bef15db19;hpb=c912efe3318a297cfa8ce267ab57cfee973c8125;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 3432bf93..325bde91 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -1,8 +1,12 @@ // gdcmUtil.h +#ifndef GDCMUTIL_H +#define GDCMUTIL_H + #include #include #include +#include "gdcmVR.h" using namespace std; class gdcmDebug { @@ -17,6 +21,15 @@ public: void Exit(int); }; +class gdcmGlobal { +private: + static gdcmVR *VR; +public: + gdcmGlobal(void); + ~gdcmGlobal(void); + static gdcmVR * GetVR(void); +}; + istream & eatwhite(istream & is); void Tokenize (const string& str, @@ -24,3 +37,5 @@ void Tokenize (const string& str, const string& delimiters = " "); extern gdcmDebug dbg; + +#endif