X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FCDMUtilities.h;h=02c3b8285d7d852d76d9139fe21a068e9c3c0ee2;hb=327c33758d25e6ff1f90f9ab74ea219eaed934a9;hp=4236eb5faab832b8d8d97f6cebec59dbe7de344a;hpb=eed967098aa87503c59d09c8d5c0dc87485698e2;p=crea.git diff --git a/lib/creaDevManagerLib/CDMUtilities.h b/lib/creaDevManagerLib/CDMUtilities.h index 4236eb5..02c3b82 100644 --- a/lib/creaDevManagerLib/CDMUtilities.h +++ b/lib/creaDevManagerLib/CDMUtilities.h @@ -170,6 +170,12 @@ namespace CDMUtilities * @return True if the class was successfully created. */ bool createEmptyClass(const std::string& name, const std::string& path); + /** + * Creates a string replacing each \ by \\. + * @param line String to stringify. + * @return line stringified. + */ + std::string stringify(const std::string& line); }; #endif /* CDMUTILITIES_H_ */