|
foobar2000 SDK
2015-08-03
|
#include <string_base.h>
Inheritance diagram for pfc::string_base:Public Member Functions | |
| string_base & | _formatter () const |
| void | add_filename (const char *fn) |
| virtual void | add_string (const char *p_string, t_size p_length=~0)=0 |
| const char * | c_str () const |
| void | convert_to_lower_ascii (const char *src, char replace= '?') |
| void | delimit (const char *c) |
| void | end_with (char c) |
| void | end_with_slash () |
| bool | ends_with (char c) const |
| t_size | find_first (char p_char, t_size p_start=0) const |
| t_size | find_first (const char *p_string, t_size p_start=0) const |
| t_size | find_last (char p_char, t_size p_start=~0) const |
| t_size | find_last (const char *p_string, t_size p_start=~0) const |
| void | fix_dir_separator (char c= '\\') |
| bool | fix_eol (const char *append=" (...)", t_size start=0) |
| virtual t_size | get_length () const |
| virtual const char * | get_ptr () const =0 |
| bool | has_prefix (const char *prefix) const |
| bool | has_prefix_i (const char *prefix) const |
| bool | has_suffix (const char *suffix) const |
| bool | has_suffix_i (const char *suffix) const |
| bool | is_empty () const |
| bool | is_valid_utf8 () const |
| char | last_char () const |
| t_size | length () const |
| bool | limit_length (t_size length_in_chars, const char *append=" (...)") |
| virtual char * | lock_buffer (t_size p_requested_length)=0 |
| operator const char * () const | |
| bool | operator!= (const string_base &p_other) const |
| const string_base & | operator+= (const char *src) |
| const string_base & | operator+= (const string_base &src) |
| bool | operator< (const string_base &p_other) const |
| bool | operator<= (const string_base &p_other) const |
| const string_base & | operator= (const char *src) |
| const string_base & | operator= (const string_base &src) |
| bool | operator== (const string_base &p_other) const |
| bool | operator> (const string_base &p_other) const |
| bool | operator>= (const string_base &p_other) const |
| t_size | replace_string (const char *replace, const char *replaceWith, t_size start=0) |
| void | reset () |
| t_size | scan_filename () const |
| virtual void | set_string (const char *p_string, t_size p_length=~0) |
| void | set_string_ (const char *str) |
| void | skip_trailing_char (unsigned c= ' ') |
| const char * | toString () const |
| virtual void | truncate (t_size len)=0 |
| bool | truncate_eol (t_size start=0) |
| void | truncate_filename () |
| void | truncate_last_char () |
| void | truncate_number_suffix () |
| void | truncate_to_parent_path () |
| virtual void | unlock_buffer ()=0 |
Public Member Functions inherited from pfc::string_receiver | |
| void | add_byte (char c) |
| void | add_char (t_uint32 c) |
| void | add_chars (t_uint32 p_char, t_size p_count) |
| void | add_string_ (const char *str) |
Protected Member Functions | |
| string_base () | |
| ~string_base () | |
Protected Member Functions inherited from pfc::string_receiver | |
| string_receiver () | |
| ~string_receiver () | |
Definition at line 193 of file string_base.h.
|
inlineprotected |
Definition at line 268 of file string_base.h.
|
inlineprotected |
Definition at line 269 of file string_base.h.
|
inline |
Definition at line 261 of file string_base.h.
|
inline |
Definition at line 257 of file string_base.h.
|
pure virtual |
|
inline |
Definition at line 196 of file string_base.h.
| void pfc::string_base::convert_to_lower_ascii | ( | const char * | src, |
| char | replace = '?' |
||
| ) |
Definition at line 257 of file string_base.cpp.
|
inline |
Definition at line 246 of file string_base.h.
| void pfc::string_base::end_with | ( | char | c | ) |
Definition at line 780 of file string_base.cpp.
| void pfc::string_base::end_with_slash | ( | ) |
Definition at line 788 of file string_base.cpp.
| bool pfc::string_base::ends_with | ( | char | c | ) | const |
Definition at line 783 of file string_base.cpp.
Definition at line 237 of file string_base.h.
Definition at line 239 of file string_base.h.
Definition at line 238 of file string_base.h.
Definition at line 240 of file string_base.h.
| void pfc::string_base::fix_dir_separator | ( | char | c = '\\' | ) |
Definition at line 1167 of file string_base.cpp.
| bool pfc::string_base::fix_eol | ( | const char * | append = " (...)", |
| t_size | start = 0 |
||
| ) |
Definition at line 988 of file string_base.cpp.
|
inlinevirtual |
Reimplemented in pfc::string_base_ref, pfc::string8_t< t_alloc >, pfc::string8_t< pfc::alloc_standard >, pfc::string_fixed_t< max_length >, pfc::string_fixed_t< 32 >, pfc::string_fixed_t< 127 >, string_formatter_tf, and pfc::__stringEmpty.
Definition at line 200 of file string_base.h.
|
pure virtual |
|
inline |
Definition at line 263 of file string_base.h.
|
inline |
Definition at line 264 of file string_base.h.
|
inline |
Definition at line 265 of file string_base.h.
|
inline |
Definition at line 266 of file string_base.h.
|
inline |
Definition at line 213 of file string_base.h.
|
inline |
Definition at line 217 of file string_base.h.
| char pfc::string_base::last_char | ( | ) | const |
Definition at line 792 of file string_base.cpp.
|
inline |
| bool pfc::string_base::limit_length | ( | t_size | length_in_chars, |
| const char * | append = " (...)" |
||
| ) |
Definition at line 995 of file string_base.cpp.
|
pure virtual |
|
inline |
Definition at line 233 of file string_base.h.
|
inline |
Definition at line 227 of file string_base.h.
|
inline |
Definition at line 222 of file string_base.h.
|
inline |
Definition at line 224 of file string_base.h.
|
inline |
Definition at line 229 of file string_base.h.
|
inline |
Definition at line 231 of file string_base.h.
|
inline |
Definition at line 221 of file string_base.h.
|
inline |
Definition at line 223 of file string_base.h.
|
inline |
Definition at line 226 of file string_base.h.
|
inline |
Definition at line 228 of file string_base.h.
|
inline |
Definition at line 230 of file string_base.h.
| t_size pfc::string_base::replace_string | ( | const char * | replace, |
| const char * | replaceWith, | ||
| t_size | start = 0 |
||
| ) |
Definition at line 1029 of file string_base.cpp.
|
inline |
Definition at line 211 of file string_base.h.
|
inline |
Definition at line 235 of file string_base.h.
|
inlinevirtual |
Reimplemented in pfc::string_base_ref, pfc::string8_t< t_alloc >, pfc::string8_t< pfc::alloc_standard >, string_formatter_tf, and pfc::__stringEmpty.
Definition at line 198 of file string_base.h.
|
inline |
Definition at line 204 of file string_base.h.
| void pfc::string_base::skip_trailing_char | ( | unsigned | c = ' ' | ) |
Definition at line 12 of file string_base.cpp.
|
inline |
Definition at line 206 of file string_base.h.
|
pure virtual |
| bool pfc::string_base::truncate_eol | ( | t_size | start = 0 | ) |
Definition at line 973 of file string_base.cpp.
|
inline |
Definition at line 255 of file string_base.h.
| void pfc::string_base::truncate_last_char | ( | ) |
Definition at line 797 of file string_base.cpp.
| void pfc::string_base::truncate_number_suffix | ( | ) |
Definition at line 802 of file string_base.cpp.
| void pfc::string_base::truncate_to_parent_path | ( | ) |
Definition at line 1009 of file string_base.cpp.
|
pure virtual |
1.8.11