A string builder with inline storage. 更多...
#include <StringBuilder.h>
类 TStringBuilderWithBuffer< CharType, BufferSize > 继承关系图:额外继承的成员函数 | |
Public 类型 继承自 TStringBuilderBase< CharType > | |
| using | BuilderType = TStringBuilderBase< ElementType > |
| The string builder base type to be used by append operators and function output parameters. | |
| using | ElementType = CharType |
| The character type that this builder operates on. | |
| template<typename AppendType > | |
| using | TCanAppend = TIsSame< BuilderType &, decltype(DeclVal< BuilderType & >()<< DeclVal< AppendType >())> |
| Whether the given type can be appended to this builder using the append operator. | |
| template<typename RangeType > | |
| using | TCanAppendRange = TAnd< TIsContiguousContainer< RangeType >, TCanAppend< decltype(*::GetData(DeclVal< RangeType >()))> > |
| Whether the given range type can have its elements appended to the builder using the append operator. | |
| using | ViewType = TStringView< ElementType > |
| The string view type that this builder is compatible with. | |
Public 成员函数 继承自 TStringBuilderBase< CharType > | |
| int32 | AddUninitialized (int32 InCount) |
| Adds a given number of uninitialized characters into the string builder. 更多... | |
| template<typename FmtType , typename... Types> | |
| TEnableIf< TIsArrayOrRefOfType< FmtType, CharType >::Value, BuilderType & >::Type | Appendf (const FmtType &Fmt, Types... Args) |
| Appends to the string builder similarly to how classic sprintf works. 更多... | |
| template<typename RangeType , typename DelimiterType , typename = typename TEnableIf<TAnd<TCanAppendRange<RangeType&&>, TCanAppend<DelimiterType&&>>::Value>::Type> | |
| BuilderType & | Join (RangeType &&InRange, DelimiterType &&InDelimiter) |
| Append every element of the range to the builder, separating the elements by the delimiter. 更多... | |
| template<typename RangeType , typename DelimiterType , typename QuoteType , typename = typename TEnableIf<TAnd<TCanAppendRange<RangeType>, TCanAppend<DelimiterType&&>, TCanAppend<QuoteType&&>>::Value>::Type> | |
| BuilderType & | JoinQuoted (RangeType &&InRange, DelimiterType &&InDelimiter, QuoteType &&InQuote) |
| Append every element of the range to the builder, separating the elements by the delimiter, and surrounding every element on each side with the given quote. 更多... | |
| void | RemoveSuffix (int32 InCount) |
| Modifies the string builder to remove the given number of characters from the end. | |
| void | Reset () |
| Empties the string builder, but doesn't change memory allocation. | |
A string builder with inline storage.
Avoid using this type directly. Prefer the aliases in StringFwd.h like TStringBuilder<N>.