|
constexpr std::string_view | jami::arch () |
|
static constexpr const char * | jami::bool_to_str (bool b) noexcept |
|
template<typename... Args> |
std::string | jami::concat (Args &&... args) |
|
uint64_t | jami::from_hex_string (const std::string &str) |
|
bool | jami::getline (std::string_view &str, std::string_view &line, char delim='\n') |
| Similar to @getline_full but skips empty results.
|
|
bool | jami::getline_full (std::string_view &str, std::string_view &line, char delim='\n') |
| Split a string_view with an API similar to std::getline.
|
|
string | std::operator+ (const string &s, const string_view &sv) |
|
string | std::operator+ (const string_view &sv, const string &s) |
|
constexpr std::string_view | jami::platform () |
|
bool | std::regex_match (string_view sv, const regex &e, regex_constants::match_flag_type flags=regex_constants::match_default) |
|
bool | std::regex_match (string_view sv, svmatch &m, const regex &e, regex_constants::match_flag_type flags=regex_constants::match_default) |
|
bool | std::regex_search (string_view sv, svmatch &m, const regex &e, regex_constants::match_flag_type flags=regex_constants::match_default) |
|
std::vector< std::string_view > | jami::split_string (std::string_view str, char delim) |
|
std::vector< std::string_view > | jami::split_string (std::string_view str, std::string_view delims=" ") |
|
std::vector< unsigned > | jami::split_string_to_unsigned (std::string_view str, char delim) |
|
static bool | jami::starts_with (std::string_view str, std::string_view prefix) |
|
std::string | jami::string_join (const std::set< std::string > &set, std::string_view separator) |
|
std::string_view | jami::string_remove_suffix (std::string_view str, char separator) |
|
void | jami::string_replace (std::string &str, const std::string &from, const std::string &to) |
|
std::set< std::string > | jami::string_split_set (std::string &str, std::string_view separator) |
|
constexpr string_view | std::svsub_match_view (const svsub_match &submatch) noexcept |
|
std::string | jami::to_hex_string (uint64_t id) |
|
template<typename T > |
T | jami::to_int (std::string_view str) |
|
template<typename T > |
T | jami::to_int (std::string_view str, T defaultValue) |
|
std::string | jami::to_string (double value) |
|
std::string_view | jami::trim (std::string_view s) |
|
std::string | jami::urlEncode (std::string_view input) |
| Percent-encode a string according to RFC 3986 unreserved characters.
|
|
const std::string & | jami::userAgent () |
|