X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDebug.h;h=908ae2d9dd66a3053d88abc81c481540c41aed3d;hb=6278320cc85da00d2d56ffbf07806e84966892c3;hp=4a3240eb664188a9ad6ba9b209c997707649bad7;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmDebug.h b/src/gdcmDebug.h index 4a3240eb..908ae2d9 100644 --- a/src/gdcmDebug.h +++ b/src/gdcmDebug.h @@ -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 #include #include +#include // strerror #include 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 )