ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::StringUtil Class Reference

#include <string_util.h>

List of all members.

Static Public Member Functions

static bool compareNoCase (const AnsiString &str1, const AnsiString &str2)
static WideString utf8ToWide (const Utf8String &Utf8Str)
static Utf8String wideToUtf8 (const WideString &WideStr)
static WideString ansiToWide (const AnsiString &str, TTextCharset charset=CHARSET_ANSI)
static AnsiString wideToAnsi (const WideString &str, TTextCharset charset=CHARSET_ANSI)
static bool isUtf8BOM (const byte *buffer, uint32 bufferSize)
static int indexOf (const WideString &str, const WideString &toFind, size_t startFrom)
static Common::String encodeSetting (const Common::String &str)
static Common::String decodeSetting (const Common::String &str)
static AnsiString toString (int val)

Static Private Member Functions

static Common::CodePage mapCodePage (TTextCharset charset)

Detailed Description

Definition at line 36 of file string_util.h.

Member Function Documentation

WideString Wintermute::StringUtil::ansiToWide ( const AnsiString str,
TTextCharset  charset = CHARSET_ANSI 
) [static]

Definition at line 208 of file string_util.cpp.

bool Wintermute::StringUtil::compareNoCase ( const AnsiString str1,
const AnsiString str2 
) [static]

Definition at line 38 of file string_util.cpp.

Common::String Wintermute::StringUtil::decodeSetting ( const Common::String str  )  [static]

Definition at line 240 of file string_util.cpp.

Common::String Wintermute::StringUtil::encodeSetting ( const Common::String str  )  [static]

Definition at line 231 of file string_util.cpp.

int Wintermute::StringUtil::indexOf ( const WideString str,
const WideString toFind,
size_t  startFrom 
) [static]

Definition at line 227 of file string_util.cpp.

bool Wintermute::StringUtil::isUtf8BOM ( const byte buffer,
uint32  bufferSize 
) [static]

Definition at line 218 of file string_util.cpp.

Common::CodePage Wintermute::StringUtil::mapCodePage ( TTextCharset  charset  )  [static, private]

Definition at line 101 of file string_util.cpp.

AnsiString Wintermute::StringUtil::toString ( int  val  )  [static]

Definition at line 245 of file string_util.cpp.

WideString Wintermute::StringUtil::utf8ToWide ( const Utf8String Utf8Str  )  [static]

Definition at line 54 of file string_util.cpp.

AnsiString Wintermute::StringUtil::wideToAnsi ( const WideString str,
TTextCharset  charset = CHARSET_ANSI 
) [static]

Definition at line 213 of file string_util.cpp.

Utf8String Wintermute::StringUtil::wideToUtf8 ( const WideString WideStr  )  [static]

Definition at line 77 of file string_util.cpp.

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

Generated on Sat Sep 19 2020 05:06:32 for ResidualVM by doxygen 1.7.1
curved edge   curved edge