-class gdcmDebug {
-public:
- gdcmDebug(int level = GDCM_DEBUG);
-
- /**
- * \ingroup gdcmDebug
- * \brief sets the debug level
- * @param i debug level to be set
- */
- void SetDebug (int i)
- {DebugLevel = i;}
-
- void Verbose(int, const char*, const char* ="");
- void Error(bool, const char*, const char* ="");
- void Error(const char*, const char* ="", const char* ="");
-
- void Assert(int, bool, const char*, const char*);
- void Exit(int);
-
-private:
-/// warning message level to be displayed
- int DebugLevel;
-};
-
-//-----------------------------------------------------------------------------
-/*
- * This class contains all globals elements that might be
- * instanciated only one time
- */
-class GDCM_EXPORT gdcmGlobal {
-public:
- gdcmGlobal(void);
- ~gdcmGlobal();
-
- 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 gdcmDicomDirElement *ddElem;
-};