class StringFormat

Helper class used for string formatting operations.

Private

Methods

staticGetLength

static u32 GetLength(const char *source)

Set of methods that can be specialized so we have a generalized way for retrieving length of strings of different types.

staticGetLength

static u32 GetLength(const wchar_t *source)

Set of methods that can be specialized so we have a generalized way for retrieving length of strings of different types.

staticStrToInt

static u32 StrToInt(const char *buffer)

Parses the string and returns an integer value extracted from string characters.

staticStrToInt

static u32 StrToInt(const wchar_t *buffer)

Parses the string and returns an integer value extracted from string characters.

staticToString

static String ToString(const String &param)

Helper method that "converts" a narrow string to a narrow string (simply a pass through).

staticToString

static String ToString(const char *param)

Helper method that converts a narrow character array to a narrow string.

staticToString

static String ToString(char *param)

Helper method that converts a narrow character array to a narrow string.

staticToString

static String ToString(StringView param)

Helper method that converts a StringView to a narrow string.

staticToWString

static WString ToWString(const WString &param)

Helper method that "converts" a wide string to a wide string (simply a pass through).

staticToWString

static WString ToWString(const wchar_t *param)

Helper method that converts a wide character array to a wide string.

staticToWString

static WString ToWString(wchar_t *param)

Helper method that converts a wide character array to a wide string.

staticGetParams

static void GetParams(ParamData<char> *parameters, u32 idx)

Helper method for parameter size calculation.

Used as a stopping point in template recursion.

staticGetParams

static void GetParams(ParamData<wchar_t> *parameters, u32 idx)

Helper method for parameter size calculation.

Used as a stopping point in template recursion.