]> Creatis software - clitk.git/blobdiff - common/clitkCommon.h
Merge branch 'master' of git.creatis.insa-lyon.fr:clitk
[clitk.git] / common / clitkCommon.h
index 9eb36522004c172b9cfa6d8bb209f45821cb02f5..8cd82fbe0b0bc1b20f38876368f0d6348615b1a9 100644 (file)
@@ -40,6 +40,7 @@
 #  include <sys/resource.h>
 #elif defined(_WIN32)
 #  include <windows.h>
+#  include <stdint.h>
 #endif
 
 //--------------------------------------------------------------------
@@ -234,6 +235,11 @@ namespace clitk {
   template <typename M, typename V> 
   void MapToVecSecond(const M & m, V & v);
 
+  //--------------------------------------------------------------------
+  // Find/replace string
+  template<class T>
+  int inline findAndReplace(T& source, const T& find, const T& replace);
+
 #include "clitkCommon.txx"
 
 } // end namespace