Home | History | Annotate | Download | only in include

Lines Matching refs:str

77     string(const string& str);
80 // @param str The source string.
84 string(const string& str, size_t pos, size_type n);
86 // Same as above but implicitly copy from pos to the end of the str.
87 string(const string& str, size_type pos);
90 // @param str The source string, must be '\0' terminated.
91 string(const value_type *str);
94 // @param str The source C string. '\0' are ignored.
96 string(const value_type *str, size_type n);
142 // @param str The string to be append.
144 string& operator+=(const string& str) { return this->append(str); }
146 // @param str The C string to be append.
148 string& operator+=(const value_type *str) { return this->append(str); }
157 // no-op if str is NULL.
158 string& append(const value_type *str);
159 // no-op if str is NULL. n must be >= 0.
160 string& append(const value_type *str, size_type n);
161 // no-op if str is NULL. pos and n must be >= 0.
162 string& append(const value_type *str, size_type pos, size_type n);
163 string& append(const string& str);
207 string& operator=(const string& str) { return assign(str); }
208 string& operator=(const char* str) { return assign(str); }
211 string& assign(const string& str);
213 // @param str Original string.
216 string& assign(const string& str, size_type pos, size_type n);
217 string& assign(const value_type *str);
252 // @param str String to locate.
255 // string. string::npos if no occurrence of str was found from the
257 size_type find(const string& str, size_type pos = 0) const {
258 return find(str.mData, pos);
264 // @param str C string to locate.
267 // string. string::npos if no occurrence of str was found from the
269 size_type find(const value_type *str, size_type pos = 0) const;
306 void SafeFree(value_type *str);
307 void ResetTo(value_type *str);
309 void Constructor(const value_type *str, size_type n);
310 void Constructor(const value_type *str, size_type pos, size_type n);
313 void Append(const value_type *str, size_type len);
330 ostream& operator<<(ostream& os, const string& str);