MiKTeX 26.5-next
A scalable TeX distribution
Loading...
Searching...
No Matches
MiKTeX::Util::StringUtil Class Reference

Public Member Functions

 StringUtil (const StringUtil &other)=delete
StringUtil & operator= (const StringUtil &other)=delete
 StringUtil (StringUtil &&other)=delete
StringUtil & operator= (StringUtil &&other)=delete

Static Public Member Functions

static std::string Flatten (const std::vector< std::string > &vec, char sep)
static std::vector< std::string > Split (const std::string &s, char sep)
static std::size_t AppendCeeString (char *dest, std::size_t destSize, const char *source)
static std::size_t CopyCeeString (char *dest, std::size_t destSize, const char *source)
static std::size_t CopyCeeString (wchar_t *dest, std::size_t destSize, const wchar_t *source)
static std::size_t CopyCeeString (char *dest, std::size_t destSize, const wchar_t *source)
static std::size_t CopyCeeString (char16_t *dest, std::size_t destSize, const char *source)
static std::size_t CopyCeeString (wchar_t *dest, std::size_t destSize, const char *source)
static bool Contains (const std::string &list, const std::string &element, const std::string &delims, bool ignoreCase)
static std::string FormatString2 (const std::string &message, const std::unordered_map< std::string, std::string > &args)
static std::u16string UTF8ToUTF16 (const std::string &utf8Chars)
static std::string UTF16ToUTF8 (const std::u16string &utf16Chars)
static std::u32string UTF8ToUTF32 (const std::string &utf8Chars)
static std::wstring UTF8ToWideChar (const std::string &utf8)
static std::string WideCharToUTF8 (const std::wstring &wideChars)
static std::string AnsiToUTF8 (const std::string &ansi)
static bool Contains (const std::string &list, const std::string &element, const std::string &delims)
static bool Contains (const std::string &list, const std::string &element)

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