Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
FMicrosoftPlatformString Struct Reference

#include <MicrosoftPlatformString.h>

+ Inheritance diagram for FMicrosoftPlatformString:
+ Collaboration diagram for FMicrosoftPlatformString:

Static Public Member Functions

static FORCEINLINE WIDECHARStrcpy (WIDECHAR *Dest, SIZE_T DestCount, const WIDECHAR *Src)
 
static FORCEINLINE WIDECHARStrncpy (WIDECHAR *Dest, const WIDECHAR *Src, SIZE_T MaxLen)
 
static FORCEINLINE WIDECHARStrcat (WIDECHAR *Dest, SIZE_T DestCount, const WIDECHAR *Src)
 
static FORCEINLINE WIDECHARStrupr (WIDECHAR *Dest, SIZE_T DestCount)
 
static FORCEINLINE int32 Strcmp (const WIDECHAR *String1, const WIDECHAR *String2)
 
static FORCEINLINE int32 Strncmp (const WIDECHAR *String1, const WIDECHAR *String2, SIZE_T Count)
 
static FORCEINLINE int32 Strnicmp (const WIDECHAR *String1, const WIDECHAR *String2, SIZE_T Count)
 
static FORCEINLINE int32 Strlen (const WIDECHAR *String)
 
static FORCEINLINE const WIDECHARStrstr (const WIDECHAR *String, const WIDECHAR *Find)
 
static FORCEINLINE const WIDECHARStrchr (const WIDECHAR *String, WIDECHAR C)
 
static FORCEINLINE const WIDECHARStrrchr (const WIDECHAR *String, WIDECHAR C)
 
static FORCEINLINE int32 Atoi (const WIDECHAR *String)
 
static FORCEINLINE int64 Atoi64 (const WIDECHAR *String)
 
static FORCEINLINE float Atof (const WIDECHAR *String)
 
static FORCEINLINE double Atod (const WIDECHAR *String)
 
static FORCEINLINE int32 Strtoi (const WIDECHAR *Start, WIDECHAR **End, int32 Base)
 
static FORCEINLINE int64 Strtoi64 (const WIDECHAR *Start, WIDECHAR **End, int32 Base)
 
static FORCEINLINE uint64 Strtoui64 (const WIDECHAR *Start, WIDECHAR **End, int32 Base)
 
static FORCEINLINE WIDECHARStrtok (WIDECHAR *StrToken, const WIDECHAR *Delim, WIDECHAR **Context)
 
static FORCEINLINE int32 GetVarArgs (WIDECHAR *Dest, SIZE_T DestSize, int32 Count, const WIDECHAR *&Fmt, va_list ArgPtr)
 
static FORCEINLINE ANSICHARStrcpy (ANSICHAR *Dest, SIZE_T DestCount, const ANSICHAR *Src)
 
static FORCEINLINE void Strncpy (ANSICHAR *Dest, const ANSICHAR *Src, SIZE_T MaxLen)
 
static FORCEINLINE ANSICHARStrcat (ANSICHAR *Dest, SIZE_T DestCount, const ANSICHAR *Src)
 
static FORCEINLINE ANSICHARStrupr (ANSICHAR *Dest, SIZE_T DestCount)
 
static FORCEINLINE int32 Strcmp (const ANSICHAR *String1, const ANSICHAR *String2)
 
static FORCEINLINE int32 Strncmp (const ANSICHAR *String1, const ANSICHAR *String2, SIZE_T Count)
 
static FORCEINLINE int32 Stricmp (const ANSICHAR *String1, const ANSICHAR *String2)
 
static FORCEINLINE int32 Stricmp (const WIDECHAR *String1, const WIDECHAR *String2)
 
static FORCEINLINE int32 Strnicmp (const ANSICHAR *String1, const ANSICHAR *String2, SIZE_T Count)
 
static FORCEINLINE int32 Strlen (const ANSICHAR *String)
 
static FORCEINLINE const ANSICHARStrstr (const ANSICHAR *String, const ANSICHAR *Find)
 
static FORCEINLINE const ANSICHARStrchr (const ANSICHAR *String, ANSICHAR C)
 
static FORCEINLINE const ANSICHARStrrchr (const ANSICHAR *String, ANSICHAR C)
 
static FORCEINLINE int32 Atoi (const ANSICHAR *String)
 
static FORCEINLINE int64 Atoi64 (const ANSICHAR *String)
 
static FORCEINLINE float Atof (const ANSICHAR *String)
 
static FORCEINLINE double Atod (const ANSICHAR *String)
 
static FORCEINLINE int32 Strtoi (const ANSICHAR *Start, ANSICHAR **End, int32 Base)
 
static FORCEINLINE int64 Strtoi64 (const ANSICHAR *Start, ANSICHAR **End, int32 Base)
 
static FORCEINLINE uint64 Strtoui64 (const ANSICHAR *Start, ANSICHAR **End, int32 Base)
 
static FORCEINLINE ANSICHARStrtok (ANSICHAR *StrToken, const ANSICHAR *Delim, ANSICHAR **Context)
 
static FORCEINLINE int32 GetVarArgs (ANSICHAR *Dest, SIZE_T DestSize, int32 Count, const ANSICHAR *&Fmt, va_list ArgPtr)
 
static const ANSICHARGetEncodingName ()
 
- Static Public Member Functions inherited from FGenericPlatformString
template<typename Encoding >
static bool IsValidChar (Encoding Ch)
 
template<typename DestEncoding , typename SourceEncoding >
static bool CanConvertChar (SourceEncoding Ch)
 
template<typename Encoding >
static const TCHARGetEncodingTypeName ()
 
template<typename SourceEncoding , typename DestEncoding >
static TEnableIf< TAreEncodingsCompatible< SourceEncoding, DestEncoding >::Value, DestEncoding * >::Type Convert (DestEncoding *Dest, int32 DestSize, const SourceEncoding *Src, int32 SrcSize, DestEncoding BogusChar=(DestEncoding)'?')
 
template<typename SourceEncoding , typename DestEncoding >
static TEnableIf<!TAreEncodingsCompatible< SourceEncoding, DestEncoding >::Value &&TIsFixedWidthEncoding< SourceEncoding >::Value, DestEncoding * >::Type Convert (DestEncoding *Dest, int32 DestSize, const SourceEncoding *Src, int32 SrcSize, DestEncoding BogusChar=(DestEncoding)'?')
 
template<typename DestEncoding , typename SourceEncoding >
static TEnableIf< TIsFixedWidthEncoding< SourceEncoding >::Value &&TIsFixedWidthEncoding< DestEncoding >::Value, int32 >::Type ConvertedLength (const SourceEncoding *Src, int32 SrcSize)
 
template<>
bool IsValidChar (ANSICHAR Ch)
 
template<>
const TCHARGetEncodingTypeName ()
 
template<>
const TCHARGetEncodingTypeName ()
 
template<>
const TCHARGetEncodingTypeName ()
 

Static Public Attributes

static const bool IsUnicodeEncoded = true
 
- Static Public Attributes inherited from FGenericPlatformString
static const bool IsUnicodeEncoded = false
 

Detailed Description

Microsoft specific implementation

Definition at line 17 of file MicrosoftPlatformString.h.

Member Function Documentation

◆ Atod() [1/2]

static FORCEINLINE double FMicrosoftPlatformString::Atod ( const ANSICHAR * String)
inlinestatic

Definition at line 224 of file MicrosoftPlatformString.h.

◆ Atod() [2/2]

static FORCEINLINE double FMicrosoftPlatformString::Atod ( const WIDECHAR * String)
inlinestatic

Definition at line 96 of file MicrosoftPlatformString.h.

◆ Atof() [1/2]

static FORCEINLINE float FMicrosoftPlatformString::Atof ( const ANSICHAR * String)
inlinestatic

Definition at line 219 of file MicrosoftPlatformString.h.

◆ Atof() [2/2]

static FORCEINLINE float FMicrosoftPlatformString::Atof ( const WIDECHAR * String)
inlinestatic

Definition at line 91 of file MicrosoftPlatformString.h.

◆ Atoi() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Atoi ( const ANSICHAR * String)
inlinestatic

Definition at line 209 of file MicrosoftPlatformString.h.

◆ Atoi() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Atoi ( const WIDECHAR * String)
inlinestatic

Definition at line 81 of file MicrosoftPlatformString.h.

◆ Atoi64() [1/2]

static FORCEINLINE int64 FMicrosoftPlatformString::Atoi64 ( const ANSICHAR * String)
inlinestatic

Definition at line 214 of file MicrosoftPlatformString.h.

◆ Atoi64() [2/2]

static FORCEINLINE int64 FMicrosoftPlatformString::Atoi64 ( const WIDECHAR * String)
inlinestatic

Definition at line 86 of file MicrosoftPlatformString.h.

◆ GetEncodingName()

static const ANSICHAR * FMicrosoftPlatformString::GetEncodingName ( )
inlinestatic

Definition at line 255 of file MicrosoftPlatformString.h.

◆ GetVarArgs() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::GetVarArgs ( ANSICHAR * Dest,
SIZE_T DestSize,
int32 Count,
const ANSICHAR *& Fmt,
va_list ArgPtr )
inlinestatic

Definition at line 249 of file MicrosoftPlatformString.h.

◆ GetVarArgs() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::GetVarArgs ( WIDECHAR * Dest,
SIZE_T DestSize,
int32 Count,
const WIDECHAR *& Fmt,
va_list ArgPtr )
inlinestatic

Definition at line 121 of file MicrosoftPlatformString.h.

◆ Strcat() [1/2]

static FORCEINLINE ANSICHAR * FMicrosoftPlatformString::Strcat ( ANSICHAR * Dest,
SIZE_T DestCount,
const ANSICHAR * Src )
inlinestatic

Definition at line 142 of file MicrosoftPlatformString.h.

◆ Strcat() [2/2]

static FORCEINLINE WIDECHAR * FMicrosoftPlatformString::Strcat ( WIDECHAR * Dest,
SIZE_T DestCount,
const WIDECHAR * Src )
inlinestatic

Definition at line 34 of file MicrosoftPlatformString.h.

◆ Strchr() [1/2]

static FORCEINLINE const ANSICHAR * FMicrosoftPlatformString::Strchr ( const ANSICHAR * String,
ANSICHAR C )
inlinestatic

Definition at line 199 of file MicrosoftPlatformString.h.

◆ Strchr() [2/2]

static FORCEINLINE const WIDECHAR * FMicrosoftPlatformString::Strchr ( const WIDECHAR * String,
WIDECHAR C )
inlinestatic

Definition at line 71 of file MicrosoftPlatformString.h.

◆ Strcmp() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strcmp ( const ANSICHAR * String1,
const ANSICHAR * String2 )
inlinestatic

Definition at line 154 of file MicrosoftPlatformString.h.

◆ Strcmp() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strcmp ( const WIDECHAR * String1,
const WIDECHAR * String2 )
inlinestatic

Definition at line 46 of file MicrosoftPlatformString.h.

◆ Strcpy() [1/2]

static FORCEINLINE ANSICHAR * FMicrosoftPlatformString::Strcpy ( ANSICHAR * Dest,
SIZE_T DestCount,
const ANSICHAR * Src )
inlinestatic

Ansi implementation

Definition at line 131 of file MicrosoftPlatformString.h.

◆ Strcpy() [2/2]

static FORCEINLINE WIDECHAR * FMicrosoftPlatformString::Strcpy ( WIDECHAR * Dest,
SIZE_T DestCount,
const WIDECHAR * Src )
inlinestatic

Wide character implementation

Definition at line 22 of file MicrosoftPlatformString.h.

◆ Stricmp() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Stricmp ( const ANSICHAR * String1,
const ANSICHAR * String2 )
inlinestatic

Compares two strings case-insensitive.

Parameters
String1First string to compare.
String2Second string to compare.
Returns
Zero if both strings are equal. Greater than zero if first string is greater than the second one. Less than zero otherwise.

Definition at line 174 of file MicrosoftPlatformString.h.

◆ Stricmp() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Stricmp ( const WIDECHAR * String1,
const WIDECHAR * String2 )
inlinestatic

Definition at line 179 of file MicrosoftPlatformString.h.

◆ Strlen() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strlen ( const ANSICHAR * String)
inlinestatic

Definition at line 189 of file MicrosoftPlatformString.h.

◆ Strlen() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strlen ( const WIDECHAR * String)
inlinestatic

Definition at line 61 of file MicrosoftPlatformString.h.

◆ Strncmp() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strncmp ( const ANSICHAR * String1,
const ANSICHAR * String2,
SIZE_T Count )
inlinestatic

Definition at line 159 of file MicrosoftPlatformString.h.

◆ Strncmp() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strncmp ( const WIDECHAR * String1,
const WIDECHAR * String2,
SIZE_T Count )
inlinestatic

Definition at line 51 of file MicrosoftPlatformString.h.

◆ Strncpy() [1/2]

static FORCEINLINE void FMicrosoftPlatformString::Strncpy ( ANSICHAR * Dest,
const ANSICHAR * Src,
SIZE_T MaxLen )
inlinestatic

Definition at line 137 of file MicrosoftPlatformString.h.

◆ Strncpy() [2/2]

static FORCEINLINE WIDECHAR * FMicrosoftPlatformString::Strncpy ( WIDECHAR * Dest,
const WIDECHAR * Src,
SIZE_T MaxLen )
inlinestatic

Definition at line 28 of file MicrosoftPlatformString.h.

◆ Strnicmp() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strnicmp ( const ANSICHAR * String1,
const ANSICHAR * String2,
SIZE_T Count )
inlinestatic

Definition at line 184 of file MicrosoftPlatformString.h.

◆ Strnicmp() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strnicmp ( const WIDECHAR * String1,
const WIDECHAR * String2,
SIZE_T Count )
inlinestatic

Definition at line 56 of file MicrosoftPlatformString.h.

◆ Strrchr() [1/2]

static FORCEINLINE const ANSICHAR * FMicrosoftPlatformString::Strrchr ( const ANSICHAR * String,
ANSICHAR C )
inlinestatic

Definition at line 204 of file MicrosoftPlatformString.h.

◆ Strrchr() [2/2]

static FORCEINLINE const WIDECHAR * FMicrosoftPlatformString::Strrchr ( const WIDECHAR * String,
WIDECHAR C )
inlinestatic

Definition at line 76 of file MicrosoftPlatformString.h.

◆ Strstr() [1/2]

static FORCEINLINE const ANSICHAR * FMicrosoftPlatformString::Strstr ( const ANSICHAR * String,
const ANSICHAR * Find )
inlinestatic

Definition at line 194 of file MicrosoftPlatformString.h.

◆ Strstr() [2/2]

static FORCEINLINE const WIDECHAR * FMicrosoftPlatformString::Strstr ( const WIDECHAR * String,
const WIDECHAR * Find )
inlinestatic

Definition at line 66 of file MicrosoftPlatformString.h.

◆ Strtoi() [1/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strtoi ( const ANSICHAR * Start,
ANSICHAR ** End,
int32 Base )
inlinestatic

Definition at line 229 of file MicrosoftPlatformString.h.

◆ Strtoi() [2/2]

static FORCEINLINE int32 FMicrosoftPlatformString::Strtoi ( const WIDECHAR * Start,
WIDECHAR ** End,
int32 Base )
inlinestatic

Definition at line 101 of file MicrosoftPlatformString.h.

◆ Strtoi64() [1/2]

static FORCEINLINE int64 FMicrosoftPlatformString::Strtoi64 ( const ANSICHAR * Start,
ANSICHAR ** End,
int32 Base )
inlinestatic

Definition at line 234 of file MicrosoftPlatformString.h.

◆ Strtoi64() [2/2]

static FORCEINLINE int64 FMicrosoftPlatformString::Strtoi64 ( const WIDECHAR * Start,
WIDECHAR ** End,
int32 Base )
inlinestatic

Definition at line 106 of file MicrosoftPlatformString.h.

◆ Strtok() [1/2]

static FORCEINLINE ANSICHAR * FMicrosoftPlatformString::Strtok ( ANSICHAR * StrToken,
const ANSICHAR * Delim,
ANSICHAR ** Context )
inlinestatic

Definition at line 244 of file MicrosoftPlatformString.h.

◆ Strtok() [2/2]

static FORCEINLINE WIDECHAR * FMicrosoftPlatformString::Strtok ( WIDECHAR * StrToken,
const WIDECHAR * Delim,
WIDECHAR ** Context )
inlinestatic

Definition at line 116 of file MicrosoftPlatformString.h.

◆ Strtoui64() [1/2]

static FORCEINLINE uint64 FMicrosoftPlatformString::Strtoui64 ( const ANSICHAR * Start,
ANSICHAR ** End,
int32 Base )
inlinestatic

Definition at line 239 of file MicrosoftPlatformString.h.

◆ Strtoui64() [2/2]

static FORCEINLINE uint64 FMicrosoftPlatformString::Strtoui64 ( const WIDECHAR * Start,
WIDECHAR ** End,
int32 Base )
inlinestatic

Definition at line 111 of file MicrosoftPlatformString.h.

◆ Strupr() [1/2]

static FORCEINLINE ANSICHAR * FMicrosoftPlatformString::Strupr ( ANSICHAR * Dest,
SIZE_T DestCount )
inlinestatic

Definition at line 148 of file MicrosoftPlatformString.h.

◆ Strupr() [2/2]

static FORCEINLINE WIDECHAR * FMicrosoftPlatformString::Strupr ( WIDECHAR * Dest,
SIZE_T DestCount )
inlinestatic

Definition at line 40 of file MicrosoftPlatformString.h.

Member Data Documentation

◆ IsUnicodeEncoded

const bool FMicrosoftPlatformString::IsUnicodeEncoded = true
static

Definition at line 260 of file MicrosoftPlatformString.h.


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