X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmUtil.h;h=3dca634d1b3b8ca6c54a2f0a79a84361447531d9;hb=fae5f95ae8cf044c024b1793b94032c9368f0f4b;hp=7b35b952b6eb373fcfcc2944059f3cc54bb7ea97;hpb=06c1c583239fdf5196260e6ef83a78669c1bd17f;p=gdcm.git diff --git a/src/gdcmUtil.h b/src/gdcmUtil.h index 7b35b952..3dca634d 100644 --- a/src/gdcmUtil.h +++ b/src/gdcmUtil.h @@ -6,6 +6,7 @@ #include "gdcmVR.h" #include "gdcmTS.h" #include "gdcmDictSet.h" +#include "gdcmDicomDirElement.h" #include #include #include @@ -42,19 +43,21 @@ private: * This class contains all globals elements that might be * instanciated only one time */ -class gdcmGlobal { +class GDCM_EXPORT gdcmGlobal { public: gdcmGlobal(void); ~gdcmGlobal(); - static gdcmVR * GetVR(void); - static gdcmTS * GetTS(void); - static gdcmDictSet * GetDicts(void); + static gdcmDictSet *GetDicts(void); + static gdcmVR *GetVR(void); + static gdcmTS *GetTS(void); + static gdcmDicomDirElement *GetDicomDirElements(void); private: + static gdcmDictSet *Dicts; static gdcmVR *VR; static gdcmTS *TS; - static gdcmDictSet *Dicts; + static gdcmDicomDirElement *ddElem; }; //----------------------------------------------------------------------------- @@ -66,7 +69,7 @@ void Tokenize (const std::string& str, extern gdcmDebug dbg; -char * _cleanString(char *v); +char *_cleanString(char *v); std::string _CreateCleanString(std::string s); //-----------------------------------------------------------------------------