-// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.13 2003/06/26 13:07:01 jpr Exp $
+// $Header: /cvs/public/gdcm/src/gdcmUtil.cxx,v 1.15 2003/07/01 15:48:27 jpr Exp $
#include <stdio.h>
#include <ctype.h> // For isspace
void gdcmDebug::Verbose(int Level, const char * Msg1, const char * Msg2) {
if (Level > DebugLevel)
return ;
- cerr << Msg1 << ' ' << Msg2 << '\n';
-}
-
-/*
-void gdcmDebug::Verbose(int Level, char * Msg1, char * Msg2) {
- if (Level > DebugLevel)
- return ;
- cerr << Msg1 << ' ' << Msg2 << '\n';
+ std::cerr << Msg1 << ' ' << Msg2 << '\n';
}
-*/
void gdcmDebug::Assert(int Level, bool Test,
const char * Msg1, const char * Msg2) {
if (Level > DebugLevel)
return ;
if (!Test)
- cerr << Msg1 << ' ' << Msg2 << '\n';
+ std::cerr << Msg1 << ' ' << Msg2 << '\n';
}
void gdcmDebug::Error( bool Test, const char * Msg1, const char * Msg2) {
gdcmGlobal::gdcmGlobal(void) {
if (VR || TS || Dicts)
- dbg.Verbose(0, "gdcmGlobal::gdcmGlobal : VR or TS or Dicts allready allocated");
+ dbg.Verbose(0, "gdcmGlobal::gdcmGlobal : VR or TS or Dicts already allocated");
VR = new gdcmVR();
TS = new gdcmTS();
Dicts = new gdcmDictSet();