From: jpr Date: Tue, 18 Sep 2007 15:59:48 +0000 (+0000) Subject: avoid Doxygen Warnings X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f2dd0107ba49eda3386b34715cdc0c046d12397f;p=gdcm.git avoid Doxygen Warnings --- diff --git a/src/gdcmCallbackCommand.cxx b/src/gdcmCallbackCommand.cxx index 598bd50c..499bf2e3 100644 --- a/src/gdcmCallbackCommand.cxx +++ b/src/gdcmCallbackCommand.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmCallbackCommand.cxx,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:07 $ - Version: $Revision: 1.3 $ + Date: $Date: 2007/09/18 15:59:48 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -44,35 +44,36 @@ CallbackCommand::~CallbackCommand () // Public /** * \brief Set the callback method - * @param method Method to call + * @param callback Method to call * @param arg Argument to pass to the method * \warning In python : the arg parameter isn't considered */ + /*void CallbackCommand::SetCallback( CallbackCommand::CbkMethod *callback,void *arg ) { SetCallback(callback,arg,NULL); }*/ -/** - * \brief Set the callback method to delete the argument +/* + *\brief Set the callback method to delete the argument * The argument is destroyed when the callback method is changed * or when the class is destroyed - * @param method Method to call to delete the argument + * @param callback Method to call to delete the argument */ /*void CallbackCommand::SetCallbackArgDelete( CallbackCommand::CbkMethod *callback ) { CallbackArgDelete = callback; }*/ -/** - * \brief Set the callback method - * @param method Method to call +/* + *\brief Set the callback method + * @param callback Method to call * @param arg Argument to pass to the method * @param argDelete Argument * \warning In python : the arg parameter isn't considered */ /*void CallbackCommand::SetCallback( void(*callback)(void *), - void *arg,void(*argDelete)(void *) ) + void *arg, void(*argDelete)(void *) ) { if ( CallbackArg && CallbackArgDelete ) { diff --git a/src/gdcmCallbackCommand.h b/src/gdcmCallbackCommand.h index 6f7a7b37..1c4ad9da 100644 --- a/src/gdcmCallbackCommand.h +++ b/src/gdcmCallbackCommand.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmCallbackCommand.h,v $ Language: C++ - Date: $Date: 2007/08/22 16:14:03 $ - Version: $Revision: 1.3 $ + Date: $Date: 2007/09/18 15:59:48 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -42,10 +42,14 @@ public: /* // Note: the CallbackCommand:: namespace prefix is needed by Swig in the // following method declarations. Refer to gdcmPython/gdcm.i // for the reasons of this unnecessary notation at C++ level. + void SetCallback(CallbackCommand::CbkMethod *callback,void *arg = NULL ); + void SetCallbackArgDelete(CallbackCommand::CbkMethod *callback); + // Note: replace CallbackCommand::Method *method to void(*method)(void *) to // avoid wrapping problems with the typemap conversions + void SetCallback(void(*callback)(void *), // CallbackCommand::Method *method void *arg, void(*argDelete)(void *));