X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=cb9dcbd389ea8a9407a4fad58bb2f4bd799c6b3b;hb=66553b88cd6daaac48ac62a910199cb2fff276f6;hp=32f68172b2576a8fb58f541a8e969ea7fef2420e;hpb=e06d61ba347d7f5f692a682434e089d939f85653;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 32f68172..cb9dcbd3 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -1,6 +1,13 @@ // gdcmUtil.h +#ifndef GDCMUTIL_H +#define GDCMUTIL_H + #include +#include +#include +#include "gdcmVR.h" +#include "gdcmDictSet.h" using namespace std; class gdcmDebug { @@ -15,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& tokens, + const string& delimiters = " "); + extern gdcmDebug dbg; + +#endif