X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkUtilities.cxx;h=968853ff91b111f59a100382974cf1cb42f9eacb;hb=029bec1fef526327df088b15771a4a4d84af7b0b;hp=f15e7080650ce658a9bc018695552c9722905d57;hpb=6990a8aeeaf98fc901ed193b95365b2eee2fb950;p=bbtk.git diff --git a/kernel/src/bbtkUtilities.cxx b/kernel/src/bbtkUtilities.cxx index f15e708..968853f 100644 --- a/kernel/src/bbtkUtilities.cxx +++ b/kernel/src/bbtkUtilities.cxx @@ -1,7 +1,34 @@ #include "bbtkUtilities.h" - + namespace bbtk { + +bool Utilities::loosematch(std::string stdLine,std::string stdOptions) +{ + bool result=false; + std::vector tokens; + SplitString ( stdOptions,"|", tokens); + int i,size=tokens.size(); + for (i=0; i