#include <gdcmUtil.h>
| Public Member Functions | |
| gdcmDebug (int level=GDCM_DEBUG) | |
| void | SetDebug (int 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 Attributes | |
| int | DebugLevel | 
| 
 | 
| 
 Definition at line 14 of file gdcmUtil.cxx. References DebugLevel. 
 00014                               {
00015    DebugLevel = level;
00016 }
 | 
| 
 | ||||||||||||||||||||
| 
 Definition at line 37 of file gdcmUtil.cxx. References DebugLevel. 
 00038                                                        {
00039    if (Level > DebugLevel)
00040       return ;
00041    if (!Test)
00042       std::cerr << Msg1 << ' ' << Msg2 << std::endl;
00043 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 31 of file gdcmUtil.cxx. References Exit(). 
 00032                                         {
00033    std::cerr << Msg1 << ' ' << Msg2 << ' ' << Msg3 << std::endl;
00034    Exit(1);
00035 }
 | 
| 
 | ||||||||||||||||
| 
 Definition at line 24 of file gdcmUtil.cxx. References Exit(). Referenced by gdcmDicomDirElement::gdcmDicomDirElement(), gdcmDict::gdcmDict(), gdcmTS::gdcmTS(), gdcmVR::gdcmVR(), gdcmDictEntry::SetVR(), and gdcmParser::SwapLong(). 
 00024                                                                       {
00025    if (!Test)
00026       return;
00027    std::cerr << Msg1 << ' ' << Msg2 << std::endl;
00028    Exit(1);
00029 }
 | 
| 
 | 
| 
 Definition at line 45 of file gdcmUtil.cxx. Referenced by Error(). 
 00045                           {
00046 #ifdef __GNUC__
00047    std::exit(a);
00048 #endif
00049 #ifdef _MSC_VER
00050    exit(a);    // Found in #include <stdlib.h>
00051 #endif
00052 }
 | 
| 
 | 
| 
 Definition at line 30 of file gdcmUtil.h. References DebugLevel. Referenced by gdcmParser::FindHeaderEntryLength(). 
 00030 {DebugLevel = i;}
 | 
| 
 | ||||||||||||||||
| 
 | 
| 
 Definition at line 40 of file gdcmUtil.h. Referenced by Assert(), gdcmDebug(), SetDebug(), and Verbose(). | 
 1.3.6
 
1.3.6