|
Nemiver
0.3
|
Functions | |
| bool | extract_path_and_line_num_from_location (const std::string &a_location, std::string &a_file_path, std::string &a_line_num) |
| bool | parse_host_and_port (const std::string &a, std::string &a_host, unsigned &a_port) |
| size_t | hexa_to_int (const string &a_hexa_str) |
| std::string | int_to_string (size_t an_int) |
| bool | string_is_number (const string &) |
| bool | string_is_decimal_number (const string &) |
| bool | string_is_hexa_number (const string &a_str) |
| vector< UString > | split (const UString &a_string, const UString &a_delim) |
| vector< UString > | split_set (const UString &a_string, const UString &a_delim_set) |
| UString | join (const vector< UString > &a_elements, const UString &a_delim=" ") |
| UString | join (vector< UString >::const_iterator &a_from, vector< UString >::const_iterator &a_to, const UString &a_delim=" ") |
| template<typename S > | |
| void | chomp (S &a_string) |
| UString::size_type | get_number_of_lines (const UString &a_string) |
| UString::size_type | get_number_of_words (const UString &a_string) |
| UString | printf (const UString &a_format,...) |
| UString | vprintf (const UString &a_format, va_list a_args) |
| bool | is_buffer_valid_utf8 (const char *a_buffer, unsigned a_len) |
| bool | ensure_buffer_is_in_utf8 (const std::string &a_input, const std::list< std::string > &supported_encodings, UString &a_output) |
| void nemiver::str_utils::chomp | ( | S & | a_string | ) |
| bool nemiver::str_utils::ensure_buffer_is_in_utf8 | ( | const std::string & | a_input, |
| const std::list< std::string > & | supported_encodings, | ||
| UString & | a_output | ||
| ) |
| bool nemiver::str_utils::extract_path_and_line_num_from_location | ( | const std::string & | a_location, |
| std::string & | a_file_path, | ||
| std::string & | a_line_num | ||
| ) |
| UString::size_type nemiver::str_utils::get_number_of_lines | ( | const UString & | a_string | ) |
| UString::size_type nemiver::str_utils::get_number_of_words | ( | const UString & | a_string | ) |
| size_t nemiver::str_utils::hexa_to_int | ( | const string & | a_hexa_str | ) |
| std::string nemiver::str_utils::int_to_string | ( | size_t | an_int | ) |
Referenced by nemiver::IDebugger::Breakpoint::id(), and nemiver::IDebugger::Breakpoint::parent_id().
| bool nemiver::str_utils::is_buffer_valid_utf8 | ( | const char * | a_buffer, |
| unsigned | a_len | ||
| ) |
| UString nemiver::str_utils::join | ( | const vector< UString > & | a_elements, |
| const UString & | a_delim = " " |
||
| ) |
| UString nemiver::str_utils::join | ( | vector< UString >::const_iterator & | a_from, |
| vector< UString >::const_iterator & | a_to, | ||
| const UString & | a_delim = " " |
||
| ) |
| bool nemiver::str_utils::parse_host_and_port | ( | const std::string & | a, |
| std::string & | a_host, | ||
| unsigned & | a_port | ||
| ) |
| vector<UString> nemiver::str_utils::split_set | ( | const UString & | a_string, |
| const UString & | a_delim_set | ||
| ) |
| bool nemiver::str_utils::string_is_decimal_number | ( | const string & | ) |
| bool nemiver::str_utils::string_is_hexa_number | ( | const string & | a_str | ) |
| bool nemiver::str_utils::string_is_number | ( | const string & | ) |
1.8.17