|
const GblStringBuffer * | getString_ (void) const |
|
GblStringBuffer * | getString_ (void) |
|
| String (std::nullptr_t, Size size=sizeof(String)) |
|
| String (Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (const std::string &stdString, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (const char *pCStr, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (const std::string_view &stringView, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (const String &rhs, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (StringView other, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (String &&rhs, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
| String (GblStringBuffer &&rhs, Context *pCtx=nullptr, Size size=sizeof(String)) |
|
auto | take (void) |
|
void | give (std::pair< char *, Size > data) |
|
void | clear (void) |
|
const String & | operator= (std::string_view view) |
|
const String & | operator= (const String &rhs) |
|
const String & | operator= (StringView string) |
|
const String & | operator= (const std::string &stdString) |
|
const String & | operator= (const char *pCStr) |
|
const String & | operator= (std::nullptr_t) |
|
const String & | operator= (String &&rhs) |
|
const String & | operator= (GblStringBuffer &&rhs) |
|
const String & | operator+= (std::string_view view) |
|
const String & | operator+= (StringView view) |
|
void | reserve (Size capacity) |
|
void | resize (Size size) |
|
void | insert (const_iterator pos, const char *pString, GblSize count=0) |
|
void | concat (std::string_view view) |
|
String & | vasprintf (const char *pFmt, va_list varArgs) |
|
String & | sprintf (const char *pFmt,...) |
|
template<typename... Args> |
String & | varArgs (Args &&... args) |
|
| operator const GblStringBuffer * () const |
|
const char & | getElement_ (size_t index) const |
|
char & | getElement_ (size_t index) |
|
void | setElement_ (size_t index, char value) |
|
size_t | getElementCount_ (void) const |
|
Size | getStackBytes (void) const |
|
constexpr Size | getLength (void) const |
|
constexpr Size | getCapacity (void) const |
|
Context * | getContext (void) const |
|
constexpr bool | isEmpty (void) const |
|
constexpr bool | isStack (void) const |
|
constexpr bool | isHeap (void) const |
|
const char * | getCString (void) const |
|
char * | getCString (void) |
|
std::string | toStdString (void) const |
|
constexpr std::string_view | toStringView (void) const |
|
|
using | StringViewType = StringViewBase< String > |
|
using | Derived = String |
|
using | Iterable = RandomAccessIterable< StringViewType, size_t, char > |
|
using | iterator = typename Iterable::iterator |
|
using | const_iterator = typename Iterable::const_iterator |
|
GblArrayList | data |
|
decltype(auto) | str_ (void) const |
|
decltype(auto) | str_ (void) |
|
GBL_RESULT | GblStringBuffer_construct (GblStringBuffer *pSelf, const char *pString, size_t length, size_t structSize, GblContext *pCtx) |
|
GBL_RESULT | GblStringBuffer_destruct (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_acquire (GblStringBuffer *pSelf, char *pData, size_t capacity) |
|
GBL_RESULT | GblStringBuffer_release (GblStringBuffer *pSelf, char **ppStrPtr, size_t *pCapacity) |
|
char * | GblStringBuffer_data (GblStringBuffer *pSelf) |
|
size_t | GblStringBuffer_length (const GblStringBuffer *pSelf) |
|
size_t | GblStringBuffer_capacity (const GblStringBuffer *pSelf) |
|
size_t | GblStringBuffer_stackBytes (const GblStringBuffer *pSelf) |
|
char * | GblStringBuffer_stackBuffer (const GblStringBuffer *pSelf) |
|
GblContext * | GblStringBuffer_context (const GblStringBuffer *pSelf) |
|
GblBool | GblStringBuffer_empty (const GblStringBuffer *pSelf) |
|
GblBool | GblStringBuffer_valid (const GblStringBuffer *pSelf) |
|
GblBool | GblStringBuffer_blank (const GblStringBuffer *pSelf) |
|
GblBool | GblStringBuffer_stack (const GblStringBuffer *pSelf) |
|
const GblStringRef * | GblStringBuffer_createRef (const GblStringBuffer *pSelf) |
|
const char * | GblStringBuffer_cString (const GblStringBuffer *pSelf) |
|
const char * | GblStringBuffer_intern (const GblStringBuffer *pSelf) |
|
GblQuark | GblStringBuffer_quark (const GblStringBuffer *pSelf) |
|
GblQuark | GblStringBuffer_tryQuark (const GblStringBuffer *pSelf) |
|
GblStringView | GblStringBuffer_view (const GblStringBuffer *pSelf, size_t offset, size_t len) |
|
char | GblStringBuffer_at (const GblStringBuffer *pSelf, size_t index) |
|
GBL_RESULT | GblStringBuffer_setChar (const GblStringBuffer *pSelf, size_t index, char value) |
|
const char * | GblStringBuffer_set (GblStringBuffer *pSelf, const char *pStr, size_t len) |
|
const char * | GblStringBuffer_printf (GblStringBuffer *pSelf, const char *pFmt,...) |
|
const char * | GblStringBuffer_vPrintf (GblStringBuffer *pSelf, const char *pFmt, va_list varArgs) |
|
GBL_RESULT | GblStringBuffer_prepend (GblStringBuffer *pSelf, const char *pStr, size_t len) |
|
GBL_RESULT | GblStringBuffer_prependPadding (GblStringBuffer *pSelf, char value, size_t count) |
|
GBL_RESULT | GblStringBuffer_append (GblStringBuffer *pSelf, const char *pStr, size_t len) |
|
GBL_RESULT | GblStringBuffer_appendPrintf (GblStringBuffer *pSelf, const char *pFmt,...) |
|
GBL_RESULT | GblStringBuffer_appendVPrintf (GblStringBuffer *pSelf, const char *pFmt, va_list varArgs) |
|
GBL_RESULT | GblStringBuffer_appendPadding (GblStringBuffer *pSelf, char value, size_t count) |
|
GBL_RESULT | GblStringBuffer_appendNil (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_appendBool (GblStringBuffer *pSelf, GblBool value) |
|
GBL_RESULT | GblStringBuffer_appendInt (GblStringBuffer *pSelf, int value) |
|
GBL_RESULT | GblStringBuffer_appendUint (GblStringBuffer *pSelf, unsigned value) |
|
GBL_RESULT | GblStringBuffer_appendFloat (GblStringBuffer *pSelf, float value) |
|
GBL_RESULT | GblStringBuffer_appendDouble (GblStringBuffer *pSelf, double value) |
|
GBL_RESULT | GblStringBuffer_appendPointer (GblStringBuffer *pSelf, const void *pPtr) |
|
GBL_RESULT | GblStringBuffer_insert (GblStringBuffer *pSelf, size_t index, const char *pString, size_t length) |
|
GBL_RESULT | GblStringBuffer_overwrite (GblStringBuffer *pSelf, size_t index, const char *pString, size_t length) |
|
size_t | GblStringBuffer_replace (GblStringBuffer *pSelf, const char *pSubstr, const char *pReplacement, size_t limit, size_t substrLen, size_t replLen) |
|
GBL_RESULT | GblStringBuffer_erase (GblStringBuffer *pSelf, size_t offset, size_t len) |
|
GBL_RESULT | GblStringBuffer_clear (GblStringBuffer *pSelf) |
|
size_t | GblStringBuffer_remove (GblStringBuffer *pSelf, const char *pStr, size_t len) |
|
GBL_RESULT | GblStringBuffer_chop (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_chomp (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_trimStart (GblStringBuffer *pSelf, char value) |
|
GBL_RESULT | GblStringBuffer_trimEnd (GblStringBuffer *pSelf, char value) |
|
GBL_RESULT | GblStringBuffer_lower (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_upper (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_reverse (GblStringBuffer *pSelf) |
|
GBL_RESULT | GblStringBuffer_reserve (GblStringBuffer *pSelf, size_t capacity) |
|
GBL_RESULT | GblStringBuffer_resize (GblStringBuffer *pSelf, size_t size) |
|
GBL_RESULT | GblStringBuffer_grow (GblStringBuffer *pSelf, size_t delta) |
|
GBL_RESULT | GblStringBuffer_shrink (GblStringBuffer *pSelf, size_t delta) |
|
GBL_RESULT | GblStringBuffer_shrinkToFit (GblStringBuffer *pSelf) |
|
Definition at line 184 of file gimbal_string.hpp.