* FIX : last fix for the version 0.4
#ifndef GDCMCOMMON_H
#define GDCMCOMMON_H
+//-----------------------------------------------------------------------------
+#define GDCM_DEBUG -1
+
+//-----------------------------------------------------------------------------
//This is needed when compiling in debug mode
#ifdef _MSC_VER
// 'identifier' : class 'type' needs to have dll-interface to be used by
guint16 length16;
if( (element == NumPixel) && (group == GrPixel) )
{
- dbg.SetDebug(-1);
+ dbg.SetDebug(GDCM_DEBUG);
dbg.Verbose(2, "gdcmParser::FindLength: ",
"we reached (GrPixel,NumPixel)");
}
#ifndef GDCMUTIL_H
#define GDCMUTIL_H
+#include "gdcmCommon.h"
#include "gdcmVR.h"
#include "gdcmTS.h"
#include "gdcmDictSet.h"
*/
class gdcmDebug {
public:
- gdcmDebug(int = 0);
+ gdcmDebug(int level = GDCM_DEBUG);
+
void SetDebug (int i) {DebugLevel = i;}
void Verbose(int, const char*, const char* ="");