#include <ink_string++.h>
Public Member Functions | |
StrList (bool do_copy_when_adding_string=true) | |
~StrList () | |
Str * | get_idx (int i) |
void | append (Str *str) |
void | prepend (Str *str) |
void | add_after (Str *prev, Str *str) |
void | detach (Str *str) |
Str * | new_cell (const char *s, int len_not_counting_nul) |
Str * | append_string (const char *s, int len_not_counting_nul) |
void | dump (FILE *fp=stderr) |
Data Fields | |
int | count |
Str * | head |
Str * | tail |
Definition at line 123 of file ink_string++.h.
StrList::StrList | ( | bool | do_copy_when_adding_string = true |
) | [inline] |
Definition at line 198 of file ink_string++.h.
StrList::~StrList | ( | ) | [inline] |
Definition at line 207 of file ink_string++.h.
Definition at line 296 of file ink_string++.h.
References count, Str::next, Str::prev, and tail.
Referenced by mime_field_value_insert_comma_val().
void StrList::append | ( | Str * | str | ) | [inline] |
Definition at line 261 of file ink_string++.h.
References count, head, Str::next, Str::prev, and tail.
Referenced by append_string().
Str * StrList::append_string | ( | const char * | s, | |
int | len_not_counting_nul | |||
) | [inline] |
Definition at line 326 of file ink_string++.h.
References append(), and new_cell().
Referenced by mime_field_value_get_comma_list(), and HttpCompat::parse_tok_list().
void StrList::detach | ( | Str * | str | ) | [inline] |
Definition at line 309 of file ink_string++.h.
References count, head, Str::next, Str::prev, and tail.
Referenced by mime_field_value_delete_comma_val().
void StrList::dump | ( | FILE * | fp = stderr |
) |
Definition at line 45 of file ink_string++.cc.
References Str::dump(), head, and Str::next.
Referenced by HttpTransactCache::CalcVariability().
Str * StrList::get_idx | ( | int | i | ) | [inline] |
Definition at line 252 of file ink_string++.h.
References head, and Str::next.
Referenced by HttpTransact::handle_upgrade_request(), mime_field_value_delete_comma_val(), mime_field_value_extend_comma_val(), mime_field_value_get_comma_val(), mime_field_value_insert_comma_val(), and mime_field_value_set_comma_val().
Str * StrList::new_cell | ( | const char * | s, | |
int | len_not_counting_nul | |||
) | [inline] |
Definition at line 235 of file ink_string++.h.
References Str::len, Str::str, and STRLIST_BASE_CELLS.
Referenced by append_string(), and mime_field_value_insert_comma_val().
void StrList::prepend | ( | Str * | str | ) | [inline] |
Definition at line 279 of file ink_string++.h.
References count, head, Str::next, Str::prev, and tail.
Referenced by mime_field_value_insert_comma_val().
int StrList::count |
Definition at line 126 of file ink_string++.h.
Referenced by add_after(), append(), HttpTransactCache::CalcVariability(), detach(), HttpCompat::determine_set_by_language(), HttpTransact::handle_upgrade_request(), HttpCompat::match_accept_charset(), HttpCompat::match_accept_language(), mime_field_value_delete_comma_val(), mime_field_value_extend_comma_val(), mime_field_value_get_comma_list(), mime_field_value_insert_comma_val(), mime_field_value_set_comma_val(), mime_field_value_str_from_strlist(), and prepend().
Definition at line 127 of file ink_string++.h.
Referenced by append(), HttpTransactCache::calculate_quality_of_accept_charset_match(), HttpTransactCache::calculate_quality_of_accept_encoding_match(), HttpTransactCache::calculate_quality_of_accept_language_match(), HttpTransactCache::calculate_quality_of_accept_match(), HttpTransactCache::CalcVariability(), detach(), do_strings_match_strongly(), do_strings_match_weakly(), dump(), get_idx(), PrefetchBlaster::handleCookieHeaders(), isCookieUnique(), HttpCompat::lookup_param_in_strlist(), HttpCompat::match_accept_charset(), match_accept_content_encoding(), match_accept_content_language(), HttpCompat::match_accept_language(), HttpTransactCache::match_gzip(), mime_field_value_str_from_strlist(), prepend(), and HttpTransactHeaders::remove_privacy_headers_from_request().
Definition at line 128 of file ink_string++.h.
Referenced by add_after(), append(), detach(), and prepend().