X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=e3145b1d840425812feef4f2a6f4773c7073b90e;hb=60d23fcd357696aa97aa4a6ebb96fa807f693613;hp=52264cd0258d8f1131a17e3b247b707f624e52d2;hpb=880e33e1299652f7a55ff47b8d65eb89f5578e5e;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 52264cd..e3145b1 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -20,8 +20,8 @@ #define CLITKCOMMON_H // clitk include -//#include "clitkConfiguration.h" #include "clitkPortability.h" +#include "clitkDD.h" #include "clitkExceptionObject.h" // itk include (include std) @@ -39,15 +39,6 @@ namespace clitk { typedef unsigned short ushort; typedef unsigned int uint; - //-------------------------------------------------------------------- - // display -#define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl;std::cout.flush(); -#define DDV(a,n) { std::cout << #a " = [ "; for(unsigned int _i_=0; _i_ -void _print_container(T const& a) - { for(typename T::const_iterator i=a.begin();i!=a.end();++i) { std::cout << *i << " "; };} -#define DDS(a) { std::cout << #a " = [ "; _print_container(a) ; std::cout << " ]" << std::endl;std::cout.flush():} - //-------------------------------------------------------------------- // when everything goes wrong #define WHEREAMI "[ " << __FILE__ << " ] line " << __LINE__