|
template<class T > |
T | make (const arg_string &s) |
| converts string to value of target type 'T' More...
|
|
template<class C , class T , class A > |
void | trimr (std::basic_string< C, T, A > &s) |
| removes trailing whitespace from string More...
|
|
template<class C , class T , class A > |
void | triml (std::basic_string< C, T, A > &s) |
| removes leading whitespace from string More...
|
|
template<class C , class T , class A > |
void | trim (std::basic_string< C, T, A > &s) |
| removes leading and trailing whitespace from string More...
|
|
template<class C , class T , class A > |
void | remove_ws (std::basic_string< C, T, A > &s) |
| removes all whitespaces from string More...
|
|
template<class C , class T , class A > |
bool | has_prefix (const std::basic_string< C, T, A > &subject, const std::basic_string< C, T, A > &prefix) |
| returns true, if the 'prefix' argument is a prefix of the 'subject' argument More...
|
|
template<class C , class T , class A > |
bool | has_postfix (const std::basic_string< C, T, A > &subject, const std::basic_string< C, T, A > &postfix) |
| returns true, if the 'postfix' argument is a postfix of the 'subject' argument More...
|
|
template<class InputRange > |
auto | longest_common_prefix (const InputRange &strs) -> typename std::decay< decltype(*begin(strs))>::type |
| returns longest common prefix of several sequential random access containers More...
|
|
template<class C , class T , class A , class InputRange > |
subrange | longest_substring_match (const std::basic_string< C, T, A > &arg, const InputRange &substrings) |
| returns longest substring range that could be found in 'arg' More...
|
|
template<class C , class T , class A , class InputRange > |
subrange | longest_prefix_match (const std::basic_string< C, T, A > &arg, const InputRange &prefixes) |
| returns longest prefix range that could be found in 'arg' More...
|
|
template<class C , class T , class A > |
subrange | substring_match (const std::basic_string< C, T, A > &subject, const std::basic_string< C, T, A > &query) |
| returns the first occurrence of 'query' within 'subject' More...
|
|
template<class C , class T , class A > |
subrange | first_number_match (std::basic_string< C, T, A > s, C digitSeparator=C(','), C decimalPoint=C('.'), C exponential=C('e')) |
| returns first substring match (pos,len) within the input string that represents a number (with at maximum one decimal point and digit separators) More...
|
|
template<class C , class T , class A > |
subrange | first_integer_match (std::basic_string< C, T, A > s, C digitSeparator=C(',')) |
| returns first substring match (pos,len) that represents an integer (with optional digit separators) More...
|
|
template<class C , class T , class A > |
bool | represents_number (const std::basic_string< C, T, A > &candidate, C digitSeparator=C(','), C decimalPoint=C('.'), C exponential=C('e')) |
| returns true if candidate string represents a number More...
|
|
template<class C , class T , class A > |
bool | represents_integer (const std::basic_string< C, T, A > &candidate, C digitSeparator=C(',')) |
| returns true if candidate string represents an integer More...
|
|
string matching and processing tools