]> Creatis software - clitk.git/blobdiff - common/clitkCommon.h
Moved from repository clitk.private to tools
[clitk.git] / common / clitkCommon.h
index 8f9ce0f0ee20fb8ad45b48f38876fc3d993695c5..2f5b26f1173b3e5e94999816031695c13cb2afc4 100644 (file)
@@ -43,6 +43,8 @@
 #  include <stdint.h>
 #endif
 
+#define VTK_EXCLUDE_STRSTREAM_HEADERS
+
 //--------------------------------------------------------------------
 namespace clitk {
 
@@ -235,6 +237,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