]> Creatis software - gdcm.git/blobdiff - src/gdcmDebug.h
Fix mistypings
[gdcm.git] / src / gdcmDebug.h
index 4a3240eb664188a9ad6ba9b209c997707649bad7..908ae2d9dd66a3053d88abc81c481540c41aed3d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDebug.h,v $
   Language:  C++
-  Date:      $Date: 2007/05/23 14:18:08 $
-  Version:   $Revision: 1.56 $
+  Date:      $Date: 2008/04/10 12:15:36 $
+  Version:   $Revision: 1.59 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -16,8 +16,8 @@
                                                                                 
 =========================================================================*/
 
-#ifndef GDCMDEBUG_H
-#define GDCMDEBUG_H
+#ifndef _GDCMDEBUG_H_
+#define _GDCMDEBUG_H_
 
 #include "gdcmCommon.h"
 #include "gdcmCommand.h"
@@ -26,6 +26,7 @@
 #include <sstream>
 #include <fstream>
 #include <assert.h>
+#include <string.h> // strerror
 #include <errno.h>
 
 namespace GDCM_NAME_SPACE
@@ -177,6 +178,7 @@ private:
 
 /**
  * \brief Debug : To be used to help bug tracking developer
+ * @param obj current instance or NULL
  * @param msg message part
  */
 #ifdef NDEBUG
@@ -208,6 +210,7 @@ private:
 
 /**
  * \brief Log : we display messages when anything is not Dicom Kosher
+ * @param obj current instance or NULL
  * @param msg message part
  */
 // No NDEBUG test to always have a return of warnings !!!
@@ -226,6 +229,7 @@ private:
 
 /**
  * \brief Warning : To be used to warn the user when some oddity occurs
+ * @param obj current instance or NULL
  * @param msg message part
  */
 // No NDEBUG test to always have a return of warnings !!!
@@ -245,6 +249,7 @@ private:
 /**
  * \brief   Error : To be used when unecoverabale error occurs
  *          at a 'deep' level. (don't use it if file is not ACR/DICOM!)
+ * @param obj current instance or NULL 
  * @param msg second message part 
  */
 // No NDEBUG test to always have a return of errors !!!
@@ -264,6 +269,7 @@ private:
  * \brief Assert : To be used when an *absolutely* impossible error occurs
  *        No function should be allowed to stop the process instead of
  *        warning the caller!
+ * @param obj current instance or NULL
  * @param arg argument to test
  *        An easy solution to pass also a message is to do:
  *        gdcmAssertMacro( "my message" && 2 < 3 )