|
typedef CharTraits | Traits |
|
typedef ReferenceCountedAllocator< char >::Iterator | Iterator |
|
typedef ReferenceCountedAllocator< char >::ReadIterator | ReadIterator |
|
typedef ReferenceCountedAllocator< char >::Enumerator | Enumerator |
|
typedef ReferenceCountedAllocator< char >::ReadEnumerator | ReadEnumerator |
|
void | initialize (const char *string, MemorySize length) |
|
void | initialize (const wchar *string, MemorySize length) |
|
void | initialize (const char16_t *string, MemorySize length) |
|
void | initialize (const ucs4 *string, MemorySize length) |
|
char * | getBuffer () |
|
char * | getBuffer (MemorySize length) |
|
const char * | getBuffer () const noexcept |
|
void | setLength (MemorySize length) |
|
| String () noexcept |
|
| String (Reference< ReferenceCountedAllocator< char > > string) |
|
| String (MemorySize capacity) |
|
| String (Default d) |
|
| String (const UTF8Stringify &stringify) |
|
| String (const OwnedNativeString &string) |
|
| String (const NativeString &string) |
|
| String (const Literal &string) |
|
| String (const char *string) |
|
| String (const char *string, MemorySize length) |
|
| String (const wchar *string) |
|
| String (const wchar *string, MemorySize length) |
|
| String (const char16_t *string) |
|
| String (const char16_t *string, MemorySize length) |
|
| String (const char32_t *string) |
|
| String (const char32_t *string, MemorySize length) |
|
| String (const WideString &string) |
|
| String (const NativeString &string, MemorySize maximum) |
|
| String (const String ©) noexcept |
|
| String (String &&move) noexcept |
|
| String (StringOutputStream &stream) |
|
| String (FormatOutputStream &stream) |
|
String & | operator= (const String &assign) noexcept |
|
String & | operator= (String &&move) noexcept |
|
String & | operator= (const Literal &assign) |
|
String & | operator= (const WideLiteral &assign) |
|
String & | operator= (const NativeString &assign) |
|
String & | operator= (const char *assign) |
|
String & | operator= (const wchar *assign) |
|
String & | operator= (const char16_t *assign) |
|
String & | operator= (const char32_t *assign) |
|
String & | operator= (const WideString &assign) |
|
String & | operator= (const StringOutputStream &assign) |
|
template<MemorySize SIZE> |
String & | operator= (const char(&literal)[SIZE]) |
|
MemorySize | getLength () const noexcept |
|
bool | isEmpty () const noexcept |
|
bool | isProper () const noexcept |
|
bool | isASCII () const noexcept |
|
bool | isMultiReferenced () const noexcept |
|
MemorySize | getCapacity () const noexcept |
|
void | ensureCapacity (MemorySize capacity) |
|
void | clear () |
|
String | copy () const |
|
void | garbageCollect () |
|
void | forceToLength (MemorySize length) |
|
Iterator | getBeginIterator () noexcept |
|
Iterator | getEndIterator () noexcept |
|
ReadIterator | getBeginReadIterator () const noexcept |
|
ReadIterator | getEndReadIterator () const noexcept |
|
ReadIterator | begin () const noexcept |
|
ReadIterator | end () const noexcept |
|
Enumerator | getEnumerator () noexcept |
|
ReadEnumerator | getReadEnumerator () const noexcept |
|
String | getValidUTF8 () const |
|
UTF8Iterator | getUTF8BeginReadIterator () const noexcept |
|
UTF8Iterator | getUTF8EndReadIterator () const noexcept |
|
UTF8Enumerator | getUTF8ReadEnumerator () const noexcept |
|
UTF8String | getUTF8String () const noexcept |
|
char | getAt (MemorySize index) const |
|
void | setAt (MemorySize index, char value) |
|
Element | operator[] (MemorySize index) |
|
| operator bool () const noexcept |
|
char | operator[] (MemorySize index) const |
|
String & | remove (MemorySize start, MemorySize end) |
|
String & | removeFrom (MemorySize start) |
|
String & | removeAt (MemorySize index) |
|
String & | append (char ch) |
|
String & | append (uint8 ch) |
|
String & | append (ucs4 ch) |
|
String & | append (const String &string) |
|
String & | append (const NativeString &string) |
|
String & | append (const char *string) |
|
String & | append (const Literal &string) |
|
template<MemorySize SIZE> |
String & | append (const char(&literal)[SIZE]) |
|
String & | append (const Literal &string, MemorySize maximum) |
|
String & | append (const NativeString &string, MemorySize maximum) |
|
String & | append (const ConstSpan< char > &buffer) |
|
String & | prepend (char ch) |
|
String & | prepend (const String &string) |
|
String & | insert (MemorySize index, const ConstSpan< char > &span) |
|
String & | insert (MemorySize index, char ch) |
|
String & | insert (MemorySize index, const String &string) |
|
String & | insert (MemorySize index, const Literal &string) |
|
template<MemorySize SIZE> |
String & | insert (MemorySize index, const char(&literal)[SIZE]) |
|
String & | insert (MemorySize index, const NativeString &string) |
|
String & | replace (MemorySize start, MemorySize end, const String &string) |
|
MemorySize | replaceAll (const String &fromStr, const String &toStr) |
|
String | substring (MemorySize start, MemorySize end) const |
|
String | substring (MemorySize start) const |
|
String & | operator+= (const String &suffix) |
|
String & | operator+= (const Literal &suffix) |
|
String & | operator+= (const char *suffix) |
|
String & | operator+= (char suffix) |
|
String & | operator-= (const String &suffix) |
|
String & | reverse () noexcept |
|
String & | toLowerCase () noexcept |
|
String & | toUpperCase () noexcept |
|
int | compareTo (const String &string) const noexcept |
|
int | compareTo (const Literal &string) const noexcept |
|
int | compareTo (const NativeString &string) const noexcept |
|
int | compareToIgnoreCase (const String &string) const noexcept |
|
int | compareToIgnoreCase (const NativeString &string) const |
|
template<MemorySize SIZE> |
int | compareToIgnoreCase (const char(&literal)[SIZE]) const noexcept |
|
bool | startsWith (const String &prefix) const noexcept |
|
bool | startsWith (const Literal &prefix) const noexcept |
|
template<MemorySize SIZE> |
bool | startsWith (const char(&prefix)[SIZE]) const noexcept |
|
bool | endsWith (const String &suffix) const noexcept |
|
bool | endsWith (const Literal &suffix) const noexcept |
|
template<MemorySize SIZE> |
bool | endsWith (const char(&suffix)[SIZE]) const noexcept |
|
bool | operator== (const String &string) const noexcept |
|
bool | operator== (const Literal &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator== (const char(&literal)[SIZE]) const noexcept |
|
bool | operator!= (const String &string) const noexcept |
|
bool | operator!= (const Literal &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator!= (const char(&literal)[SIZE]) const noexcept |
|
bool | operator< (const String &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator< (const char(&literal)[SIZE]) const noexcept |
|
bool | operator<= (const String &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator<= (const char(&literal)[SIZE]) const noexcept |
|
bool | operator>= (const String &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator>= (const char(&literal)[SIZE]) const noexcept |
|
bool | operator> (const String &string) const noexcept |
|
template<MemorySize SIZE> |
bool | operator> (const char(&literal)[SIZE]) const noexcept |
|
bool | operator== (const NativeString &string) const noexcept |
|
bool | operator!= (const NativeString &string) const noexcept |
|
bool | operator< (const NativeString &string) const noexcept |
|
bool | operator<= (const NativeString &string) const noexcept |
|
bool | operator>= (const NativeString &string) const noexcept |
|
bool | operator> (const NativeString &string) const noexcept |
|
MemoryDiff | indexOf (char ch, MemorySize start=0) const noexcept |
|
MemoryDiff | indexOf (const String &string, MemorySize start=0) const noexcept |
|
MemoryDiff | lastIndexOf (char ch, MemorySize start) const noexcept |
|
MemoryDiff | lastIndexOf (char ch) const noexcept |
|
MemoryDiff | lastIndexOf (const String &string, MemorySize start) const noexcept |
|
MemoryDiff | lastIndexOf (const String &string) const noexcept |
|
MemorySize | count (char ch, MemorySize start=0) const noexcept |
|
MemorySize | count (const String &string, MemorySize start=0) const noexcept |
|
String & | trim (char character=' ') |
|
MemoryDiff | search (const String &substring, MemorySize start=0) const noexcept |
|
Array< String > | split (char separator, bool group=false) const |
|
const Reference< ReferenceCountedAllocator< char > > & | getContainer () const |
|
char * | getElements () |
|
bool | invariant () const noexcept |
|
const char * | getElements () const noexcept |
|
const char * | getEnd () const noexcept |
|
const uint8 * | getBytes () const noexcept |
|
bool | hasNull () const noexcept |
|
ConstSpan< char > | getSpan () const noexcept |
|
const char * | native () const noexcept |
|
template<typename... ARGS> |
String | operator() (ARGS &&... args) |
|
static int | compareToIgnoreCase (const char *left, const char *right) noexcept |
|
static String | makeLength (MemorySize length) |
|
static String | makeCapacity (MemorySize capacity) |
|
static ConstSpan< char > | toSpan (const char *string) noexcept |
|
static String | substImpl (const UTF8Stringify &text, const UTF8Stringify *args, MemorySize numberOfArgs) |
|
static const char | TERMINATOR = '\0' |
|
static const MemorySize | MAXIMUM_LENGTH = PrimitiveTraits<int>::MAXIMUM - sizeof(TERMINATOR) |
|
Input stream with string source.
A string input stream is a input stream which receives its data from a string.
- Version
- 1.0