Definition at line 41 of file String.h.
◆ Iterator
STL-like iterator.
Definition at line 45 of file String.h.
◆ StrRef() [1/3]
Initializes the instance referring to nothing.
Definition at line 48 of file String.h.
◆ StrRef() [2/3]
Explicit reference initialization.
Definition at line 55 of file String.h.
◆ StrRef() [3/3]
Initializes as the clone of other instance.
Data referenced by the instance is not copied. Instead both instances will refer to same text.
Definition at line 64 of file String.h.
◆ at()
const Char & at |
( |
size_t | index | ) |
const |
|
inline |
Provides bound-checked per-item access.
Definition at line 121 of file String.h.
◆ begin()
◆ empty()
Indicates whether the referenced text is empty.
Definition at line 71 of file String.h.
◆ end()
◆ items()
const Char * items |
( |
| ) |
const |
|
inline |
Read-only content.
Definition at line 77 of file String.h.
◆ operator=()
Reinitializes from the other instance.
Definition at line 130 of file String.h.
◆ operator[]()
const Char & operator[] |
( |
size_t | index | ) |
const |
|
inline |
Provides per-item access.
Definition at line 115 of file String.h.
◆ reset() [1/2]
Resets the reference to nothing.
Definition at line 101 of file String.h.
◆ reset() [2/2]
void reset |
( |
const Char * | chars, |
|
|
size_t | size ) |
|
inline |
Updates the given instance to refer to the new text.
Definition at line 108 of file String.h.
◆ size()
Number of chars.
Definition at line 83 of file String.h.
◆ swap()
Swaps content with the other instance.
Definition at line 139 of file String.h.