X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=2f5b26f1173b3e5e94999816031695c13cb2afc4;hb=619c7d36de4ec76e9e68beb4a77c3e91e72d4c89;hp=8f9ce0f0ee20fb8ad45b48f38876fc3d993695c5;hpb=20f9a906dc7d6e3c9a69f582f9d96d1e4e4131b8;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 8f9ce0f..2f5b26f 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -43,6 +43,8 @@ # include #endif +#define VTK_EXCLUDE_STRSTREAM_HEADERS + //-------------------------------------------------------------------- namespace clitk { @@ -235,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