1 // $Header: /cvs/public/gdcm/src/gdcmUtil.h,v 1.17 2004/01/12 13:12:28 regrain Exp $
8 #include "gdcmDictSet.h"
14 * gdcmDebug is an object for debugging in program.
15 * It has 2 debugging modes :
16 * - error : for bad library use
17 * - debug : for debugging messages
19 * A debugging message has a level of priority and is
20 * Shown only when the debug level is higher than the
28 void Verbose(int, const char*, const char* ="");
29 void Error(bool, const char*, const char* ="");
30 void Error(const char*, const char* ="", const char* ="");
31 void Assert(int, bool, const char*, const char*);
33 void SetDebug (int i) {DebugLevel = i;}
37 * This class contains all globals elements that might be
38 * instanciated only one time
44 static gdcmDictSet *Dicts;
48 static gdcmVR * GetVR(void);
49 static gdcmTS * GetTS(void);
50 static gdcmDictSet * GetDicts(void);
53 std::istream & eatwhite(std::istream & is);
55 void Tokenize (const std::string& str,
56 std::vector<std::string>& tokens,
57 const std::string& delimiters = " ");
61 char * _cleanString(char *v);
62 std::string _CreateCleanString(std::string s);
64 std::string TranslateToKey(guint16 group, guint16 element);