#include <bstring.h>
Collaboration diagram for basic_string< charT >:
Public Types | |
typedef charT | char_type |
typedef string_char_baggage< charT > | baggage_type |
Public Member Functions | |
basic_string () _THROW_ALLOC | |
basic_string (size_t size, capacity cap) _THROW_ALLOC_LENGTH | |
basic_string (const basic_string< charT > &str, size_t pos=0, size_t n=NPOS) _THROW_ALLOC_OUTRANGE | |
basic_string (const charT *s, size_t n) _THROW_ALLOC_LENGTH | |
basic_string (const charT *s) _THROW_ALLOC | |
basic_string (charT c, size_t rep=1) _THROW_ALLOC_LENGTH | |
basic_string (const vector< charT > &vec) _THROW_ALLOC_LENGTH | |
~basic_string () _THROW_NONE | |
basic_string< charT > & | operator= (const basic_string< charT > &str) _THROW_ALLOC |
basic_string< charT > & | operator= (const charT *s) _THROW_ALLOC |
basic_string< charT > & | operator= (charT c) _THROW_ALLOC |
basic_string< charT > & | operator+= (const basic_string< charT > &rhs) _THROW_ALLOC_LENGTH |
basic_string< charT > & | operator+= (const charT *s) _THROW_ALLOC_LENGTH |
basic_string< charT > & | operator+= (charT c) _THROW_ALLOC_LENGTH |
operator vector () const _THROW_ALLOC | |
basic_string< charT > & | append (const basic_string< charT > &str, size_t pos=0, size_t n=NPOS) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | append (const charT *s, size_t n) _THROW_ALLOC_LENGTH |
basic_string< charT > & | append (const charT *s) _THROW_ALLOC_LENGTH |
basic_string< charT > & | append (charT c, size_t rep=1) _THROW_ALLOC_LENGTH |
basic_string< charT > & | assign (const basic_string< charT > &str, size_t pos=0, size_t n=NPOS) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | assign (const charT *s, size_t n) _THROW_ALLOC_LENGTH |
basic_string< charT > & | assign (const charT *s) _THROW_ALLOC_LENGTH |
basic_string< charT > & | assign (charT c, size_t rep=1) _THROW_ALLOC_LENGTH |
basic_string< charT > & | insert (size_t pos1, const basic_string< charT > &str, size_t pos2=0, size_t n=NPOS) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | insert (size_t pos, const charT *s, size_t n) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | insert (size_t pos, const charT *s) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | insert (size_t pos, charT c, size_t rep=1) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | erase (size_t pos=0, size_t n=NPOS) _THROW_ALLOC_OUTRANGE |
basic_string< charT > & | replace (size_t pos1, size_t n1, const basic_string< charT > &str, size_t pos2=0, size_t n2=NPOS) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | replace (size_t pos, size_t n1, const charT *s, size_t n2) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | replace (size_t pos, size_t n1, const charT *s) _THROW_ALLOC_LENGTH_OUTRANGE |
basic_string< charT > & | replace (size_t pos, size_t n, charT c, size_t rep=1) _THROW_ALLOC_LENGTH_OUTRANGE |
charT | at (size_t pos) const _THROW_OUTRANGE |
void | put_at (size_t pos, charT c) _THROW_ALLOC_OUTRANGE |
charT | operator[] (size_t pos) const _THROW_NONE |
charT & | operator[] (size_t pos) _THROW_ALLOC_OUTRANGE |
const charT * | c_str () const _THROW_ALLOC |
const charT * | data () const _THROW_NONE |
size_t | length () const _THROW_NONE |
void | resize (size_t n, charT c) _THROW_ALLOC_LENGTH |
void | resize (size_t n) _THROW_ALLOC_LENGTH |
size_t | reserve () const _THROW_NONE |
void | reserve (size_t res_arg) _THROW_ALLOC_LENGTH |
size_t | copy (charT *s, size_t n, size_t pos=0) const _THROW_OUTRANGE |
size_t | find (const basic_string< charT > &str, size_t pos=0) const _THROW_NONE |
size_t | find (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | find (const charT *s, size_t pos=0) const _THROW_NONE |
size_t | find (charT c, size_t pos=0) const _THROW_NONE |
size_t | rfind (const basic_string< charT > &str, size_t pos=NPOS) const _THROW_NONE |
size_t | rfind (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | rfind (const charT *s, size_t pos=NPOS) const _THROW_NONE |
size_t | rfind (charT c, size_t pos=NPOS) const _THROW_NONE |
size_t | find_first_of (const basic_string< charT > &str, size_t pos=0) const _THROW_NONE |
size_t | find_first_of (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | find_first_of (const charT *s, size_t pos=0) const _THROW_NONE |
size_t | find_first_of (charT c, size_t pos=0) const _THROW_NONE |
size_t | find_last_of (const basic_string< charT > &str, size_t pos=NPOS) const _THROW_NONE |
size_t | find_last_of (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | find_last_of (const charT *s, size_t pos=NPOS) const _THROW_NONE |
size_t | find_last_of (charT c, size_t pos=NPOS) const _THROW_NONE |
size_t | find_first_not_of (const basic_string< charT > &str, size_t pos=0) const _THROW_NONE |
size_t | find_first_not_of (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | find_first_not_of (const charT *s, size_t pos=0) const _THROW_NONE |
size_t | find_first_not_of (charT c, size_t pos=0) const _THROW_NONE |
size_t | find_last_not_of (const basic_string< charT > &str, size_t pos=NPOS) const _THROW_NONE |
size_t | find_last_not_of (const charT *s, size_t pos, size_t n) const _THROW_NONE |
size_t | find_last_not_of (const charT *s, size_t pos=NPOS) const _THROW_NONE |
size_t | find_last_not_of (charT c, size_t pos=NPOS) const _THROW_NONE |
basic_string< charT > | substr (size_t pos=0, size_t n=NPOS) const _THROW_ALLOC_OUTRANGE |
int | compare (const basic_string< charT > &str, size_t pos=0, size_t n=NPOS) const _THROW_OUTRANGE |
int | compare (const charT *s, size_t pos, size_t n) const _THROW_LENGTH_OUTRANGE |
int | compare (const charT *s, size_t pos=0) const _THROW_OUTRANGE |
int | compare (charT c, size_t pos=0, size_t rep=1) const _THROW_LENGTH_OUTRANGE |
Protected Member Functions | |
basic_string (const charT *s, size_t rlen, size_t xlen) _THROW_ALLOC_LENGTH | |
void | delete_ref () _THROW_NONE |
Friends | |
ostream & | operator<< (ostream &o, const basic_string< charT > &s) _THROW_NONE |
istream & | operator>> (istream &i, basic_string< charT > &s) _THROW_ALLOC_LENGTH |
basic_string< charT > | operator+ (const basic_string< charT > &lhs, const basic_string< charT > &rhs) _THROW_ALLOC_LENGTH |
basic_string< charT > | operator+ (const charT *lhs, const basic_string< charT > &rhs) _THROW_ALLOC_LENGTH |
basic_string< charT > | operator+ (charT lhs, const basic_string< charT > &rhs) _THROW_ALLOC_LENGTH |
basic_string< charT > | operator+ (const basic_string< charT > &lhs, const charT *rhs) _THROW_ALLOC_LENGTH |
basic_string< charT > | operator+ (const basic_string< charT > &lhs, charT rhs) _THROW_ALLOC_LENGTH |
Definition at line 402 of file bstring.h.
|
|
|
|
|
Definition at line 1572 of file bstring.h. References NPOS. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1612 of file bstring.h. References basic_string< charT >::delete_ref(). Here is the call graph for this function: ![]() |
|
Definition at line 1727 of file bstring.h. References assign(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), NPOS, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1719 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 1787 of file bstring.h. References assign(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, NPOS, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1779 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 836 of file bstring.h. References basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 2042 of file bstring.h. References assign(), basic_string< charT >::c_str_ptr, string_char_baggage< charT >::copy(), basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 2365 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::length(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2358 of file bstring.h. References string_char_baggage< charT >::length(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 2346 of file bstring.h. References basic_string< charT >::length(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2337 of file bstring.h. References basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 2105 of file bstring.h. References string_char_baggage< charT >::copy(), basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 1884 of file bstring.h. References string_char_baggage< charT >::copy(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), and basic_string_ref< charT >::ptr. Referenced by basic_string< charT >::replace(). Here is the call graph for this function: ![]() |
|
Definition at line 2142 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::length(), string_char_baggage< charT >::ne(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2135 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 2119 of file bstring.h. Referenced by basic_string< charT >::find_first_of(). |
|
Definition at line 2274 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::length(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2266 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 2213 of file bstring.h. References basic_string< charT >::find(). Here is the call graph for this function: ![]() |
|
Definition at line 2205 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 2307 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::length(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2299 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 2243 of file bstring.h. References basic_string< charT >::rfind(). Here is the call graph for this function: ![]() |
|
Definition at line 2236 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
Definition at line 1843 of file bstring.h. References assign(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), NPOS, basic_string_ref< charT >::ptr, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1834 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
|
Definition at line 522 of file bstring.h. References basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 1677 of file bstring.h. References assign(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), NPOS, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1669 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 1644 of file bstring.h. References assign(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1636 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 1621 of file bstring.h. References basic_string< charT >::delete_ref(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2024 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::delete_ref(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 847 of file bstring.h. References basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 2003 of file bstring.h. References assign(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1947 of file bstring.h. References assign(), string_char_baggage< charT >::copy(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string< charT >::erase(), basic_string_ref< charT >::len, basic_string< charT >::length(), NPOS, basic_string_ref< charT >::ptr, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 1937 of file bstring.h. References string_char_baggage< charT >::length(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
Definition at line 1927 of file bstring.h. References basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 2088 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string< charT >::length(), NPOS, and reserve. Here is the call graph for this function: ![]() |
|
Definition at line 829 of file bstring.h. References basic_string_ref< charT >::res. |
|
Definition at line 2081 of file bstring.h. References basic_string< charT >::resize(). Here is the call graph for this function: ![]() |
|
Definition at line 2057 of file bstring.h. References assign(), basic_string< charT >::data(), basic_string< charT >::delete_ref(), basic_string_ref< charT >::len, basic_string< charT >::length(), NPOS, basic_string_ref< charT >::ptr, and reserve. Referenced by basic_string< charT >::resize(). Here is the call graph for this function: ![]() |
|
Definition at line 2174 of file bstring.h. References basic_string< charT >::data(), basic_string< charT >::length(), string_char_baggage< charT >::ne(), and NPOS. Here is the call graph for this function: ![]() |
|
Definition at line 2167 of file bstring.h. References string_char_baggage< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
Definition at line 2151 of file bstring.h. Referenced by basic_string< charT >::find_last_of(). |
|
Definition at line 2322 of file bstring.h. References basic_string< charT >::data(), and basic_string< charT >::length(). Here is the call graph for this function: ![]() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|