X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkUtilities.cxx;h=f15e7080650ce658a9bc018695552c9722905d57;hb=d73a7833a28e6111e1e805efae5df3ab18a240e2;hp=6ebbe6152ed020ceeb2303db6b741c9fe08c2c44;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/kernel/src/bbtkUtilities.cxx b/kernel/src/bbtkUtilities.cxx index 6ebbe61..f15e708 100644 --- a/kernel/src/bbtkUtilities.cxx +++ b/kernel/src/bbtkUtilities.cxx @@ -3,28 +3,5 @@ namespace bbtk { - /* - //======================================================================== - /// Usefull functions for html generation - static void replace( std::string& str, - const std::string& from, const std::string& to ) - { - using std::string; - string::size_type pos = str.find( from ); - while ( pos != string::npos ) - { - // std::cout << "'" << str << "' -> '"; - str.replace( pos, from.size(), to ); - pos = str.find( from, pos+from.size()-1 ); - // std::cout << str << "'"<< std::endl; - } - } - //========================================================================== - inline void html_format(std::string& str) - { - replace( str, "&", "&" ); - replace( str, "<", "<"# ); - replace( str, ">", ">" ); - } - */ + }