Ark Server API (ASA) - Wiki
|
#include <StringConv.h>
Public Types | |
typedef InFromType | FromType |
typedef InToType | ToType |
Public Member Functions | |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
TStringPointer (const SrcBufferType *Source) | |
template<typename SrcBufferType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< SrcBufferType, FromType > > * = nullptr> | |
TStringPointer (const SrcBufferType *Source, int32 SourceLen) | |
template<typename FromRangeType , typename FromRangeCharType = std::remove_cv_t<std::remove_pointer_t<decltype(GetData(DeclVal<FromRangeType>()))>, std::enable_if_t< TAnd< TIsContiguousContainer< FromRangeType >, TNot< TIsArray< typename TRemoveReference< FromRangeType >::Type > >, TIsCharEncodingCompatibleWith< FromRangeCharType, FromType > >::Value > * = nullptr> | |
TStringPointer (FromRangeType &&Source) | |
TStringPointer (TStringPointer &&Other)=default | |
FORCEINLINE const ToType * | Get () const UE_LIFETIMEBOUND |
FORCEINLINE int32 | Length () const |
Private Member Functions | |
TStringPointer (const TStringPointer &)=delete | |
TStringPointer & | operator= (const TStringPointer &)=delete |
Private Attributes | |
const ToType * | Ptr |
int32 | StringLength |
Class takes one type of string and and stores it as-is. For API compatibility with TStringConversion when the To and From types are already in the same format.
Definition at line 807 of file StringConv.h.
typedef InFromType TStringPointer< InFromType, InToType >::FromType |
Definition at line 812 of file StringConv.h.
typedef InToType TStringPointer< InFromType, InToType >::ToType |
Definition at line 813 of file StringConv.h.
|
inlineexplicit |
Definition at line 820 of file StringConv.h.
|
inline |
Definition at line 838 of file StringConv.h.
|
inline |
Construct from a compatible character range such as TStringView or TStringBuilder.
Definition at line 872 of file StringConv.h.
|
default |
Move constructor
|
privatedelete |
|
inline |
Accessor for the string.
Definition at line 889 of file StringConv.h.
|
inline |
Length of the string.
Definition at line 899 of file StringConv.h.
|
privatedelete |
|
private |
Definition at line 909 of file StringConv.h.
|
private |
Definition at line 910 of file StringConv.h.