X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=08e26fb39feb817fa827201200f6a8972fecc073;hb=b8a5842638a6d29023d5440c09b08c94b0cbcc75;hp=32f68172b2576a8fb58f541a8e969ea7fef2420e;hpb=e06d61ba347d7f5f692a682434e089d939f85653;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 32f68172..08e26fb3 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -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 -using namespace std; +#include +#include +#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& tokens, + const std::string& delimiters = " "); extern gdcmDebug dbg; + +#endif