X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=cb9dcbd389ea8a9407a4fad58bb2f4bd799c6b3b;hb=00bc08e9b8fd5aadac41221a071783ef3d485f94;hp=4f19b3ae23966d62b26d944794c4fdef200105ce;hpb=1a4c3a039ea7c7fc09419ffe3c28ed7827866788;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 4f19b3ae..cb9dcbd3 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -1,4 +1,13 @@ +// gdcmUtil.h + +#ifndef GDCMUTIL_H +#define GDCMUTIL_H + #include +#include +#include +#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& tokens, + const string& delimiters = " "); + extern gdcmDebug dbg; + +#endif