4 gdcmDebug::gdcmDebug(int level = 0) {
8 void gdcmDebug::Verbose(int Level, const char * Msg1, const char * Msg2 = "") {
9 if (Level > DebugLevel)
11 cerr << Msg1 << ' ' << Msg2 << '\n';
14 void gdcmDebug::Assert(int Level, bool Test,
15 const char * Msg1, const char * Msg2 = "") {
16 if (Level > DebugLevel)
19 cerr << Msg1 << ' ' << Msg2 << '\n';
22 void gdcmDebug::Error( bool Test, const char * Msg1, const char * Msg2 = "") {
25 std::cerr << Msg1 << ' ' << Msg2 << '\n';
29 void gdcmDebug::Error(const char* Msg1, const char* Msg2 ="",
30 const char* Msg3 ="") {
31 std::cerr << Msg1 << ' ' << Msg2 << ' ' << Msg3 << '\n';
37 // Because is not yet available in g++2.06
38 istream& eatwhite(istream& is) {