libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
gimbal::FlexibleString< ExtraStackSize > Class Template Referencefinal
Inheritance diagram for gimbal::FlexibleString< ExtraStackSize >:
gimbal::String GblStringBuffer gimbal::StringViewBase< String > gimbal::tags::StringBase

Public Types

using FlexibleStringType = FlexibleString< ExtraStackSize >
 
- Public Types inherited from gimbal::StringViewBase< String >
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
 

Static Public Attributes

static constexpr const Size ExtraStackBufferSize
 

Additional Inherited Members

- Public Member Functions inherited from gimbal::String
const GblStringBuffergetString_ (void) const
 
GblStringBuffergetString_ (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 Stringoperator= (std::string_view view)
 
const Stringoperator= (const String &rhs)
 
const Stringoperator= (StringView string)
 
const Stringoperator= (const std::string &stdString)
 
const Stringoperator= (const char *pCStr)
 
const Stringoperator= (std::nullptr_t)
 
const Stringoperator= (String &&rhs)
 
const Stringoperator= (GblStringBuffer &&rhs)
 
const Stringoperator+= (std::string_view view)
 
const Stringoperator+= (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)
 
Stringvasprintf (const char *pFmt, va_list varArgs)
 
Stringsprintf (const char *pFmt,...)
 
template<typename... Args>
StringvarArgs (Args &&... args)
 
- Public Member Functions inherited from gimbal::StringViewBase< String >
 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
 
ContextgetContext (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
 
- Static Public Member Functions inherited from gimbal::String
static std::pair< char *, Size > take (GblStringBuffer *pGblStr)
 
- Data Fields inherited from GblStringBuffer
GblArrayList data
 
- Protected Member Functions inherited from gimbal::StringViewBase< String >
decltype(auto) str_ (void) const
 
decltype(auto) str_ (void)
 

Detailed Description

template<Size ExtraStackSize>
class gimbal::FlexibleString< ExtraStackSize >

Definition at line 414 of file gimbal_string.hpp.

Member Typedef Documentation

◆ FlexibleStringType

template<Size ExtraStackSize>
using gimbal::FlexibleString< ExtraStackSize >::FlexibleStringType = FlexibleString<ExtraStackSize>

Definition at line 416 of file gimbal_string.hpp.

Field Documentation

◆ ExtraStackBufferSize

template<Size ExtraStackSize>
constexpr const Size gimbal::FlexibleString< ExtraStackSize >::ExtraStackBufferSize
inlinestaticconstexpr

Definition at line 417 of file gimbal_string.hpp.


The documentation for this class was generated from the following file: