#include <OnixS/CME/DropCopy/String.h>
Definition at line 314 of file String.h.
Immutable iterator over chars.
Definition at line 318 of file String.h.
Initializes blank instance.
Definition at line 321 of file String.h.
StringRef |
( |
const char * |
chars, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Full initialization.
Definition at line 328 of file String.h.
Initializes as clone of other instance. Data referenced by clone is not copied. Instead both instances will refer to same text segment.
Definition at line 338 of file String.h.
Initializes instance from string content.
Definition at line 345 of file String.h.
Initializes instance from string content.
Definition at line 352 of file String.h.
Initializes instance from zero-terminated string.
Definition at line 359 of file String.h.
const char& at |
( |
size_t |
index | ) |
const |
|
inline |
const char* data |
( |
| ) |
const |
|
inline |
Read-only content.
Definition at line 371 of file String.h.
Indicates whether array of zero length.
Definition at line 365 of file String.h.
operator std::string |
( |
| ) |
const |
|
inline |
Implicit conversion to std::string.
Definition at line 447 of file String.h.
bool operator!= |
( |
const StringRef & |
other | ) |
const |
|
inline |
Compares with another instance.
Definition at line 459 of file String.h.
Reinitializes from another instance.
Definition at line 465 of file String.h.
bool operator== |
( |
const StringRef & |
other | ) |
const |
|
inline |
Compares with another instance.
Definition at line 453 of file String.h.
const char& operator[] |
( |
size_t |
index | ) |
const |
|
inline |
Resets reference to nothing.
Definition at line 395 of file String.h.
void reset |
( |
const char * |
chars, |
|
|
size_t |
size |
|
) |
| |
|
inline |
Updates data being referenced.
Definition at line 402 of file String.h.
Swaps content with other instance.
Definition at line 474 of file String.h.
bool toNumber |
( |
NumericType & |
number | ) |
const |
|
inline |
Returns number if text is string representation of an integer.
Definition at line 428 of file String.h.
void toString |
( |
std::string & |
str | ) |
const |
|
inline |
std::string toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: