Go to the source code of this file.
Namespaces | |
namespace | cmtk |
Functions | |
int | cmtk::StrCmp (const char *s1, const char *s2) |
Safe string comparison. | |
void | cmtk::StrReplace (char *&s1, const char *s2) |
Replace a string. | |
void | cmtk::StrFree (char *const s) |
Safe deallocation of strings. | |
int | cmtk::StrPrefixCmp (const char *s, const char *prefix) |
Compare string prefix. | |
const char * | cmtk::StrDir (const char *path) |
Extract directory component from a complete filesystem path. | |
const char * | cmtk::StrFName (const char *path) |
Extract filename component from a complete filesystem path. | |
std::string | cmtk::StrReplace (const std::string &str, const std::map< std::string, std::string > &rules, const bool multiple=false) |
Replace string components. |