X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkCommon.h;h=8cd82fbe0b0bc1b20f38876368f0d6348615b1a9;hb=ad13cf07dde9cf2b43bf902c3da442e1c4d751f6;hp=8f9ce0f0ee20fb8ad45b48f38876fc3d993695c5;hpb=0405727a0d0d5955b4b623a9c4bc60622a85fdd5;p=clitk.git diff --git a/common/clitkCommon.h b/common/clitkCommon.h index 8f9ce0f..8cd82fb 100644 --- a/common/clitkCommon.h +++ b/common/clitkCommon.h @@ -235,6 +235,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