2 //-----------------------------------------------------------------------------
6 #include "gdcmCommon.h"
9 #include "gdcmDictSet.h"
10 #include "gdcmDicomDirElement.h"
14 //-----------------------------------------------------------------------------
16 * This class contains all globals elements that might be
17 * instanciated only one time
19 class GDCM_EXPORT gdcmGlobal {
24 static gdcmDictSet *GetDicts(void);
25 static gdcmVR *GetVR(void);
26 static gdcmTS *GetTS(void);
27 static gdcmDicomDirElement *GetDicomDirElements(void);
30 static gdcmDictSet *Dicts;
33 static gdcmDicomDirElement *ddElem;
36 //-----------------------------------------------------------------------------
37 std::istream & eatwhite(std::istream & is);
39 void Tokenize (const std::string& str,
40 std::vector<std::string>& tokens,
41 const std::string& delimiters = " ");
43 char *_cleanString(char *v);
44 std::string _CreateCleanString(std::string s);
46 void NormalizePath (std::string &name);
47 std::string GetPath(std::string &fullName);
48 std::string GetName(std::string &fullName);