X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=2f5b26f1173b3e5e94999816031695c13cb2afc4;hb=28729cf9e633569745ae9b72f444a3cd98af098f;hp=9eb36522004c172b9cfa6d8bb209f45821cb02f5;hpb=9c3459c14912a6e59482407d40a7b626143ebc46;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 9eb3652..2f5b26f 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -40,8 +40,11 @@ # include #elif defined(_WIN32) # include +# include #endif +#define VTK_EXCLUDE_STRSTREAM_HEADERS + //-------------------------------------------------------------------- namespace clitk { @@ -234,6 +237,11 @@ namespace clitk { template void MapToVecSecond(const M & m, V & v); + //-------------------------------------------------------------------- + // Find/replace string + template + int inline findAndReplace(T& source, const T& find, const T& replace); + #include "clitkCommon.txx" } // end namespace