|
bool | is_internal () const noexcept |
|
| String (Allocator *allocator=defaultAllocator()) noexcept |
|
| String (const char *value, Allocator *allocator=defaultAllocator()) noexcept |
|
| String (const String &rhs, Allocator *allocator=defaultAllocator()) noexcept |
|
| String (String &&rhs) noexcept |
|
String & | operator= (const String &rhs) noexcept |
|
String & | operator= (const char *rhs) noexcept |
|
String & | operator= (String &&rhs) noexcept |
|
size_type | size () const noexcept |
|
size_type | length () const noexcept |
|
size_type | capacity () const noexcept |
|
void | reserve (size_type max_length) noexcept |
|
void | resize (size_type new_length) noexcept |
|
void | resize (size_type new_length, char value) noexcept |
|
void | clear () |
|
bool | empty () const noexcept |
|
iterator | begin () noexcept |
| Iterators.
|
|
iterator | end () noexcept |
|
const_iterator | cbegin () const noexcept |
|
const_iterator | cend () const noexcept |
|
reverse_iterator | rbegin () noexcept |
|
reverse_iterator | rend () noexcept |
|
const_reverse_iterator | crbegin () const noexcept |
|
const_reverse_iterator | crend () const noexcept |
|
char & | back () noexcept |
| Direct access.
|
|
const char & | back () const noexcept |
|
char & | front () noexcept |
|
const char & | front () const noexcept |
|
char & | operator[] (const size_type pos) noexcept |
|
const char & | operator[] (const size_type pos) const noexcept |
|
const char * | c_str () const noexcept |
|
bool | operator== (const String &rhs) const noexcept |
| Comp operators.
|
|
bool | operator!= (const String &rhs) const noexcept |
|
bool | operator< (const String &rhs) const noexcept |
|
bool | operator<= (const String &rhs) const noexcept |
|
bool | operator> (const String &rhs) const noexcept |
|
bool | operator>= (const String &rhs) const noexcept |
|
String & | operator+= (const String &rhs) noexcept |
| concat operator
|
|
String & | operator+= (const char *cstr) noexcept |
|
String & | operator+= (const char chr) noexcept |
|
String & | operator+= (int num) noexcept |
|
String | operator+ (const String &rhs) const noexcept |
|
String | operator+ (const char *cstr) const noexcept |
|
String | operator+ (const char chr) const noexcept |
|
size_type | find (const String &str, size_type pos=0) const noexcept |
| Algorithm.
|
|
size_type | find (const char *s, size_type pos=0) const noexcept |
|
size_type | find (const char s, size_type pos=0) const noexcept |
|
size_type | rfind (const String &str, size_type pos=npos) const noexcept |
|
size_type | rfind (const char *s, size_type pos=npos) const noexcept |
|
size_type | rfind (const char s, size_type pos=npos) const noexcept |
|
String | substr (size_type pos=0, size_type len=npos) const noexcept |
|
String | replace (const String &src, const String &dest) const noexcept |
|
int | compare (const String &str) const noexcept |
|
int | compare (const char *s) const noexcept |
|
bool | endswith (const String &ending) const noexcept |
|
bool | startswith (const String &prefix) const noexcept |
|
size_type | count (const String &substr, size_type start=0, size_type end=npos) const noexcept |
|
String | capitalize () const noexcept |
|
String | upper () const noexcept |
|
String | lower () const noexcept |
|
String | swapcase () const noexcept |
|
String | zfill (size_type width) const noexcept |
|
bool | isalnum () const noexcept |
| Return true if all characters in the string are alphanumeric and there is at least one character, false otherwise.
|
|
bool | isalpha () const noexcept |
| Return true if all characters in the string are alphabetic and there is at least one character, false otherwise.
|
|
bool | isdigit () const noexcept |
| Return true if all characters in the string are digits and there is at least one character, false otherwise.
|
|
bool | islower () const noexcept |
| Return true if all cased characters in the string are lowercase and there is at least one cased character, false otherwise.
|
|
bool | isspace () const noexcept |
| Return true if there are only whitespace characters in the string and there is at least one character, false otherwise.
|
|
bool | istitle () const noexcept |
| Return true if the string is a titlecased string and there is at least one character, i.e. uppercase characters may only follow uncased characters and lowercase characters only cased ones. Return false otherwise.
|
|
bool | isupper () const noexcept |
| Return true if all cased characters in the string are uppercase and there is at least one cased character, false otherwise.
|
|
int | toInt () const |
|
double | toDouble () const |
|