|
string & | litehtml::trim (string &s, const string &chars_to_trim=whitespace) |
|
string | litehtml::trim (const string &s, const string &chars_to_trim=whitespace) |
|
string & | litehtml::lcase (string &s) |
|
int | litehtml::value_index (const string &val, const string &strings, int defValue=-1, char delim=';') |
|
string | litehtml::index_value (int index, const string &strings, char delim=';') |
|
bool | litehtml::value_in_list (const string &val, const string &strings, char delim=';') |
|
string::size_type | litehtml::find_close_bracket (const string &s, string::size_type off, char open_b='(', char close_b=')') |
|
void | litehtml::split_string (const string &str, string_vector &tokens, const string &delims=whitespace, const string &delims_preserve="", const string "e="\"") |
|
string_vector | litehtml::split_string (const string &str, const string &delims=whitespace, const string &delims_preserve="", const string "e="\"") |
|
void | litehtml::join_string (string &str, const string_vector &tokens, const string &delims) |
|
double | litehtml::t_strtod (const char *string, char **endPtr=nullptr) |
|
string | litehtml::get_escaped_string (const string &in_str) |
|
template<typename X , typename A > |
bool | litehtml::is_one_of (X x, A a) |
|
template<typename X , typename A , typename... AA> |
bool | litehtml::is_one_of (X x, A a, AA... aa) |
|
template<class T > |
const T & | litehtml::at (const vector< T > &vec, int index) |
|
template<class Map , class Key > |
auto | litehtml::at (const Map &map, Key key) |
|
template<typename T > |
vector< T > | litehtml::slice (const vector< T > &vec, int index, int count=-1) |
|
template<class C > |
void | litehtml::remove (C &vec, int index, int count=1) |
|
template<class T > |
void | litehtml::insert (vector< T > &vec, int index, const vector< T > &x) |
|
template<class T > |
vector< T > & | litehtml::operator+= (vector< T > &vec, const vector< T > &x) |
|
template<class C , class T > |
bool | litehtml::contains (const C &coll, const T &item) |
|
bool | litehtml::contains (const string &str, const string &substr) |
|
template<class C > |
void | litehtml::sort (C &coll) |
|
int | litehtml::t_strcasecmp (const char *s1, const char *s2) |
|
int | litehtml::t_strncasecmp (const char *s1, const char *s2, size_t n) |
|
bool | litehtml::equal_i (const string &s1, const string &s2) |
|
bool | litehtml::match (const string &str, int index, const string &substr) |
|
bool | litehtml::match_i (const string &str, int index, const string &substr) |
|
bool | litehtml::is_number (const string &string, bool allow_dot=true) |
|
bool | litehtml::is_whitespace (int c) |
|
int | litehtml::t_isalpha (int c) |
|
int | litehtml::t_tolower (int c) |
|
int | litehtml::lowcase (int c) |
|
string | litehtml::lowcase (string str) |
|
int | litehtml::t_isdigit (int c) |
|
bool | litehtml::is_hex_digit (int ch) |
|
int | litehtml::digit_value (int ch) |
|
bool | litehtml::is_surrogate (int ch) |
|
int | litehtml::round_f (float val) |
|
int | litehtml::round_d (double val) |
|
float | litehtml::t_strtof (const string &str, char **endPtr=nullptr) |
|
int | litehtml::baseline_align (int line_height, int line_base_line, int height, int baseline) |
|