Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TStringConvert< From, To > Class Template Reference

#include <StringConv.h>

Public Types

typedef From FromType
 
typedef To ToType
 

Static Public Member Functions

template<typename CharType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< CharType, FromType > > * = nullptr>
static FORCEINLINE void Convert (To *Dest, int32 DestLen, const CharType *Source, int32 SourceLen)
 
template<typename CharType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< CharType, FromType > > * = nullptr>
static int32 ConvertedLength (const CharType *Source, int32 SourceLen)
 

Detailed Description

template<typename From, typename To>
class TStringConvert< From, To >

Definition at line 28 of file StringConv.h.

Member Typedef Documentation

◆ FromType

template<typename From , typename To >
typedef From TStringConvert< From, To >::FromType

Definition at line 31 of file StringConv.h.

◆ ToType

template<typename From , typename To >
typedef To TStringConvert< From, To >::ToType

Definition at line 32 of file StringConv.h.

Member Function Documentation

◆ Convert()

template<typename From , typename To >
template<typename CharType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< CharType, FromType > > * = nullptr>
static FORCEINLINE void TStringConvert< From, To >::Convert ( To * Dest,
int32 DestLen,
const CharType * Source,
int32 SourceLen )
inlinestatic

Definition at line 38 of file StringConv.h.

◆ ConvertedLength()

template<typename From , typename To >
template<typename CharType , std::enable_if_t< TIsCharEncodingCompatibleWith_V< CharType, FromType > > * = nullptr>
static int32 TStringConvert< From, To >::ConvertedLength ( const CharType * Source,
int32 SourceLen )
inlinestatic

Definition at line 48 of file StringConv.h.


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