libept
|
Namespaces | |
ept | |
String functions. | |
ept::str | |
Functions | |
std::string | ept::str::basename (const std::string &pathname) |
Given a pathname, return the file name without its path. More... | |
std::string | ept::str::dirname (const std::string &pathname) |
Given a pathname, return the directory name without the file name. More... | |
void | ept::str::appendpath (std::string &dest, const char *path2) |
Append path2 to path1, adding slashes when appropriate. More... | |
void | ept::str::appendpath (std::string &dest, const std::string &path2) |
Append path2 to path1, adding slashes when appropriate. More... | |
std::string | ept::str::joinpath (const std::string &path1, const std::string &path2) |
std::string | ept::str::normpath (const std::string &pathname) |
Normalise a pathname. More... | |
std::string | ept::str::encode_cstring (const std::string &str) |
Escape the string so it can safely used as a C string inside double quotes. More... | |
std::string | ept::str::decode_cstring (const std::string &str, size_t &lenParsed) |
Unescape a C string, stopping at the first double quotes or at the end of the string. More... | |
std::string | ept::str::encode_url (const std::string &str) |
Urlencode a string. More... | |
std::string | ept::str::decode_url (const std::string &str) |
Decode an urlencoded string. More... | |
std::string | ept::str::encode_base64 (const std::string &str) |
Encode a string in Base64. More... | |
std::string | ept::str::decode_base64 (const std::string &str) |
Decode a string encoded in Base64. More... | |