Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
StringBuilder.h File Reference
+ Include dependency graph for StringBuilder.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TStringBuilderBase< CharType >
 
class  TStringBuilderWithBuffer< CharType, BufferSize >
 
class  TWriteToString< CharType, BufferSize >
 
struct  TIsContiguousContainer< TWriteToString< CharType, BufferSize > >
 

Typedefs

template<int32 BufferSize>
using WriteToString = TWriteToString<TCHAR, BufferSize>
 
template<int32 BufferSize>
using WriteToAnsiString = TWriteToString<ANSICHAR, BufferSize>
 
template<int32 BufferSize>
using WriteToWideString = TWriteToString<WIDECHAR, BufferSize>
 
template<int32 BufferSize>
using WriteToUtf8String = TWriteToString<UTF8CHAR, BufferSize>
 

Functions

template<typename CharType >
constexpr int32 GetNum (const TStringBuilderBase< CharType > &Builder)
 
template<typename CharType , typename CharRangeType >
auto operator<< (TStringBuilderBase< CharType > &Builder, CharRangeType &&Str) -> decltype(Builder.Append(MakeStringView(Forward< CharRangeType >(Str))))
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, ANSICHAR Char)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, UTF8CHAR Char)=delete
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, WIDECHAR Char)=delete
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, ANSICHAR Char)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, UTF8CHAR Char)=delete
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, WIDECHAR Char)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, ANSICHAR Char)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, UTF8CHAR Char)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, WIDECHAR Char)=delete
 
FStringBuilderBaseoperator+= (FStringBuilderBase &Builder, ANSICHAR Char)
 
FStringBuilderBaseoperator+= (FStringBuilderBase &Builder, WIDECHAR Char)
 
FStringBuilderBaseoperator+= (FStringBuilderBase &Builder, UTF8CHAR Char)
 
FStringBuilderBaseoperator+= (FStringBuilderBase &Builder, FWideStringView Str)
 
FStringBuilderBaseoperator+= (FStringBuilderBase &Builder, FUtf8StringView Str)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, int32 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, uint32 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, int32 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, uint32 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, int32 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, uint32 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, int64 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, uint64 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, int64 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, uint64 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, int64 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, uint64 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, int8 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, uint8 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, int8 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, uint8 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, int8 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, uint8 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, int16 Value)
 
FAnsiStringBuilderBaseoperator<< (FAnsiStringBuilderBase &Builder, uint16 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, int16 Value)
 
FWideStringBuilderBaseoperator<< (FWideStringBuilderBase &Builder, uint16 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, int16 Value)
 
FUtf8StringBuilderBaseoperator<< (FUtf8StringBuilderBase &Builder, uint16 Value)
 
template<typename CharType >
auto AppendChars (TStringBuilderBase< CharType > &Builder)
 

Typedef Documentation

◆ WriteToAnsiString

template<int32 BufferSize>
using WriteToAnsiString = TWriteToString<ANSICHAR, BufferSize>

Definition at line 511 of file StringBuilder.h.

◆ WriteToString

template<int32 BufferSize>
using WriteToString = TWriteToString<TCHAR, BufferSize>

Definition at line 510 of file StringBuilder.h.

◆ WriteToUtf8String

template<int32 BufferSize>
using WriteToUtf8String = TWriteToString<UTF8CHAR, BufferSize>

Definition at line 513 of file StringBuilder.h.

◆ WriteToWideString

template<int32 BufferSize>
using WriteToWideString = TWriteToString<WIDECHAR, BufferSize>

Definition at line 512 of file StringBuilder.h.

Function Documentation

◆ AppendChars()

template<typename CharType >
auto AppendChars ( TStringBuilderBase< CharType > & Builder)

Returns an object that can be used as the output container for algorithms by appending to the builder.

Example: Algo::Transform(StringView, AppendChars(Builder), FChar::ToLower)

Definition at line 521 of file StringBuilder.h.

◆ GetNum()

template<typename CharType >
constexpr int32 GetNum ( const TStringBuilderBase< CharType > & Builder)
inlineconstexpr

Definition at line 388 of file StringBuilder.h.

◆ operator+=() [1/5]

FStringBuilderBase & operator+= ( FStringBuilderBase & Builder,
ANSICHAR Char )
inline

Definition at line 444 of file StringBuilder.h.

◆ operator+=() [2/5]

Definition at line 448 of file StringBuilder.h.

◆ operator+=() [3/5]

Definition at line 447 of file StringBuilder.h.

◆ operator+=() [4/5]

FStringBuilderBase & operator+= ( FStringBuilderBase & Builder,
UTF8CHAR Char )
inline

Definition at line 446 of file StringBuilder.h.

◆ operator+=() [5/5]

FStringBuilderBase & operator+= ( FStringBuilderBase & Builder,
WIDECHAR Char )
inline

Definition at line 445 of file StringBuilder.h.

◆ operator<<() [1/34]

Definition at line 433 of file StringBuilder.h.

◆ operator<<() [2/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
int16 Value )
inline

Definition at line 473 of file StringBuilder.h.

◆ operator<<() [3/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
int32 Value )
inline

Definition at line 452 of file StringBuilder.h.

◆ operator<<() [4/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
int64 Value )
inline

Definition at line 459 of file StringBuilder.h.

◆ operator<<() [5/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
int8 Value )
inline

Definition at line 466 of file StringBuilder.h.

◆ operator<<() [6/34]

Definition at line 474 of file StringBuilder.h.

◆ operator<<() [7/34]

Definition at line 453 of file StringBuilder.h.

◆ operator<<() [8/34]

Definition at line 460 of file StringBuilder.h.

◆ operator<<() [9/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
uint8 Value )
inline

Definition at line 467 of file StringBuilder.h.

◆ operator<<() [10/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
UTF8CHAR Char )
inlinedelete

◆ operator<<() [11/34]

FAnsiStringBuilderBase & operator<< ( FAnsiStringBuilderBase & Builder,
WIDECHAR Char )
inlinedelete

◆ operator<<() [12/34]

Definition at line 439 of file StringBuilder.h.

◆ operator<<() [13/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
int16 Value )
inline

Definition at line 477 of file StringBuilder.h.

◆ operator<<() [14/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
int32 Value )
inline

Definition at line 456 of file StringBuilder.h.

◆ operator<<() [15/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
int64 Value )
inline

Definition at line 463 of file StringBuilder.h.

◆ operator<<() [16/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
int8 Value )
inline

Definition at line 470 of file StringBuilder.h.

◆ operator<<() [17/34]

Definition at line 478 of file StringBuilder.h.

◆ operator<<() [18/34]

Definition at line 457 of file StringBuilder.h.

◆ operator<<() [19/34]

Definition at line 464 of file StringBuilder.h.

◆ operator<<() [20/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
uint8 Value )
inline

Definition at line 471 of file StringBuilder.h.

◆ operator<<() [21/34]

Definition at line 440 of file StringBuilder.h.

◆ operator<<() [22/34]

FUtf8StringBuilderBase & operator<< ( FUtf8StringBuilderBase & Builder,
WIDECHAR Char )
inlinedelete

◆ operator<<() [23/34]

Definition at line 436 of file StringBuilder.h.

◆ operator<<() [24/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
int16 Value )
inline

Definition at line 475 of file StringBuilder.h.

◆ operator<<() [25/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
int32 Value )
inline

Definition at line 454 of file StringBuilder.h.

◆ operator<<() [26/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
int64 Value )
inline

Definition at line 461 of file StringBuilder.h.

◆ operator<<() [27/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
int8 Value )
inline

Definition at line 468 of file StringBuilder.h.

◆ operator<<() [28/34]

Definition at line 476 of file StringBuilder.h.

◆ operator<<() [29/34]

Definition at line 455 of file StringBuilder.h.

◆ operator<<() [30/34]

Definition at line 462 of file StringBuilder.h.

◆ operator<<() [31/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
uint8 Value )
inline

Definition at line 469 of file StringBuilder.h.

◆ operator<<() [32/34]

FWideStringBuilderBase & operator<< ( FWideStringBuilderBase & Builder,
UTF8CHAR Char )
inlinedelete

◆ operator<<() [33/34]

Definition at line 438 of file StringBuilder.h.

◆ operator<<() [34/34]

template<typename CharType , typename CharRangeType >
auto operator<< ( TStringBuilderBase< CharType > & Builder,
CharRangeType && Str ) -> decltype(Builder.Append(MakeStringView(Forward<CharRangeType>(Str))))
inline

Definition at line 420 of file StringBuilder.h.