2 //-----------------------------------------------------------------------------
8 #include "gdcmDictSet.h"
13 //-----------------------------------------------------------------------------
15 * gdcmDebug is an object for debugging in program.
16 * It has 2 debugging modes :
17 * - error : for bad library use
18 * - debug : for debugging messages
20 * A debugging message has a level of priority and is
21 * Shown only when the debug level is higher than the
27 void SetDebug (int i) {DebugLevel = i;}
29 void Verbose(int, const char*, const char* ="");
30 void Error(bool, const char*, const char* ="");
31 void Error(const char*, const char* ="", const char* ="");
33 void Assert(int, bool, const char*, const char*);
40 //-----------------------------------------------------------------------------
42 * This class contains all globals elements that might be
43 * instanciated only one time
45 class GDCM_EXPORT gdcmGlobal {
50 static gdcmVR *GetVR(void);
51 static gdcmTS *GetTS(void);
52 static gdcmDictSet *GetDicts(void);
57 static gdcmDictSet *Dicts;
60 //-----------------------------------------------------------------------------
61 std::istream & eatwhite(std::istream & is);
63 void Tokenize (const std::string& str,
64 std::vector<std::string>& tokens,
65 const std::string& delimiters = " ");
69 char *_cleanString(char *v);
70 std::string _CreateCleanString(std::string s);
72 //-----------------------------------------------------------------------------