|
|
static FORCEINLINE double | Atod (const CharType *String) |
| | atod wrapper
|
| |
|
static FORCEINLINE float | Atof (const CharType *String) |
| | atof wrapper
|
| |
|
static FORCEINLINE int32 | Atoi (const CharType *String) |
| | atoi wrapper
|
| |
|
static FORCEINLINE int64 | Atoi64 (const CharType *String) |
| | atoi64 wrapper
|
| |
| static FORCEINLINE int32 | GetVarArgs (CharType *Dest, SIZE_T DestSize, const CharType *&Fmt, va_list ArgPtr) |
| | Helper function to write formatted output using an argument list 更多...
|
| |
| static FORCEINLINE int32 | GetVarArgs (CharType *Dest, SIZE_T DestSize, int32 Count, const CharType *&Fmt, va_list ArgPtr) |
| | Helper function to write formatted output using an argument list 更多...
|
| |
| static bool | IsNumeric (const CharType *Str) |
| | Returns whether this string contains only numeric characters 更多...
|
| |
| static FORCEINLINE bool | IsPureAnsi (const CharType *Str) |
| | Returns whether this string contains only pure ansi characters 更多...
|
| |
|
template<typename FmtType , typename... Types> |
| static int32 | Snprintf (CharType *Dest, int32 DestSize, const FmtType &Fmt, Types... Args) |
| | Safe string formatted print.
|
| |
| static const CharType * | Spc (int32 NumSpaces) |
| | Returns a static string that is filled with a variable number of spaces 更多...
|
| |
| template<typename FmtType , typename... Types> |
| static int32 | Sprintf (CharType *Dest, const FmtType &Fmt, Types... Args) |
| | Standard string formatted print. 更多...
|
| |
| static FORCEINLINE CharType * | Strcat (CharType *Dest, SIZE_T DestCount, const CharType *Src) |
| | strcat wrapper 更多...
|
| |
| template<SIZE_T DestCount> |
| static FORCEINLINE CharType * | Strcat (CharType(&Dest)[DestCount], const CharType *Src) |
| | strcat wrapper (templated version to automatically handle static destination array case) 更多...
|
| |
|
static FORCEINLINE const CharType * | Strchr (const CharType *String, CharType c) |
| | strchr wrapper
|
| |
|
static FORCEINLINE int32 | Strcmp (const CharType *String1, const CharType *String2) |
| | strcmp wrapper
|
| |
| static FORCEINLINE CharType * | Strcpy (CharType *Dest, SIZE_T DestCount, const CharType *Src) |
| | strcpy wrapper 更多...
|
| |
| template<SIZE_T DestCount> |
| static FORCEINLINE CharType * | Strcpy (CharType(&Dest)[DestCount], const CharType *Src) |
| | strcpy wrapper (templated version to automatically handle static destination array case) 更多...
|
| |
|
static FORCEINLINE int32 | Strcspn (const CharType *String, const CharType *Mask) |
| | strcspn wrapper
|
| |
|
static const CharType * | Strfind (const CharType *Str, const CharType *Find, bool bSkipQuotedChars=false) |
| | Find string in string, case sensitive, requires non-alphanumeric lead-in.
|
| |
|
static const CharType * | StrfindDelim (const CharType *Str, const CharType *Find, const CharType *Delim=LITERAL(CharType, " \t,")) |
| | Finds string in string, case insensitive, requires the string be surrounded by one the specified delimiters, or the start or end of the string.
|
| |
|
static FORCEINLINE int32 | Stricmp (const CharType *String1, const CharType *String2) |
| | stricmp wrapper
|
| |
|
static const CharType * | Strifind (const CharType *Str, const CharType *Find, bool bSkipQuotedChars=false) |
| | Find string in string, case insensitive, requires non-alphanumeric lead-in.
|
| |
| static CharType * | Stristr (CharType *Str, const CharType *Find) |
| | Finds string in string, case insensitive (non-const version) 更多...
|
| |
| static const CharType * | Stristr (const CharType *Str, const CharType *Find) |
| | Finds string in string, case insensitive 更多...
|
| |
|
static FORCEINLINE int32 | Strlen (const CharType *String) |
| | strlen wrapper
|
| |
| static CharType * | Strncat (CharType *Dest, const CharType *Src, int32 MaxLen) |
| | Concatenate a string with length checking. 更多...
|
| |
|
static FORCEINLINE int32 | Strncmp (const CharType *String1, const CharType *String2, SIZE_T Count) |
| | strncmp wrapper
|
| |
| static FORCEINLINE CharType * | Strncpy (CharType *Dest, const CharType *Src, int32 MaxLen) |
| | Copy a string with length checking. 更多...
|
| |
|
static FORCEINLINE int32 | Strnicmp (const CharType *String1, const CharType *String2, SIZE_T Count) |
| | strnicmp wrapper
|
| |
| static FORCEINLINE int32 | Strnlen (const CharType *String, SIZE_T StringSize) |
| | Calculate the length of the string up to the given size. 更多...
|
| |
|
static FORCEINLINE const CharType * | Strrchr (const CharType *String, CharType c) |
| | strrchr wrapper
|
| |
|
static FORCEINLINE const CharType * | Strrstr (const CharType *String, const CharType *Find) |
| | strrstr wrapper
|
| |
|
static FORCEINLINE int32 | Strspn (const CharType *String, const CharType *Mask) |
| | strspn wrapper
|
| |
|
static FORCEINLINE const CharType * | Strstr (const CharType *String, const CharType *Find) |
| | strstr wrapper
|
| |
|
static FORCEINLINE int32 | Strtoi (const CharType *Start, CharType **End, int32 Base) |
| | strtoi wrapper
|
| |
|
static FORCEINLINE int64 | Strtoi64 (const CharType *Start, CharType **End, int32 Base) |
| | strtoi wrapper
|
| |
|
static FORCEINLINE CharType * | Strtok (CharType *TokenString, const CharType *Delim, CharType **Context) |
| | strtok wrapper
|
| |
|
static FORCEINLINE uint64 | Strtoui64 (const CharType *Start, CharType **End, int32 Base) |
| | strtoui wrapper
|
| |
| static FORCEINLINE CharType * | Strupr (CharType *Dest, SIZE_T DestCount) |
| | strupr wrapper 更多...
|
| |
| template<SIZE_T DestCount> |
| static FORCEINLINE CharType * | Strupr (CharType(&Dest)[DestCount]) |
| | strupr wrapper (templated version to automatically handle static destination array case) 更多...
|
| |
| static const CharType * | Tab (int32 NumTabs) |
| | Returns a static string that is filled with a variable number of tabs 更多...
|
| |
| static FORCEINLINE bool | ToBool (const CharType *String) |
| | Converts a string into a boolean value 1, "True", "Yes", FCoreTexts::True, FCoreTexts::Yes, and non-zero integers become true 0, "False", "No", FCoreTexts::False, FCoreTexts::No, and unparsable values become false 更多...
|
| |
template<typename T>
struct TCString< T >
Set of basic string utility functions operating on plain C strings.
In addition to the wrapped C string API,this struct also contains a set of widely used utility functions that operate on c strings. There is a specialized implementation for ANSICHAR and WIDECHAR strings provided. To access these functionality, the convenience typedefs FCString and FCStringAnsi are provided.