X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=3729584686bdd1d2510d4603000336fe307a0443;hb=a1ec529a24b721fcfb2c5725f95bcc2c9125b28d;hp=94d1c607b6049e7d353e1209a4e31b6ba39b5d77;hpb=8eccf1e25d2ab7273145d2475ae015aea5f6ff94;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 94d1c60..3729584 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -69,6 +69,9 @@ namespace clitk { exit(-3); \ } +#ifndef ITK_OVERRIDE +# define ITK_OVERRIDE +#endif //-------------------------------------------------------------------- // when everything goes wrong @@ -96,6 +99,9 @@ namespace clitk { // Return filename extension std::string GetExtension(const std::string& filename); + // Return filename splitting in 1 or 2 parts : directory name (if exists) & filename + std::vector SplitFilename(const std::string& filename); + //-------------------------------------------------------------------- // Convert float, double ... to string template std::string toString(const T & t);