Proud::UnicodeStrTraits Class Reference

Public Types

typedef wchar_t CharType
 

Static Public Member Functions

static PROUD_API int SafeStringLen (const CharType *str)
 
static PROUD_API void CopyString (CharType *dest, int destNumOfElements, const CharType *src, int length)
 
static PROUD_API int StringCompare (const CharType *a, const CharType *b)
 
static PROUD_API int StringCompareNoCase (const CharType *a, const CharType *b)
 
static PROUD_API int GetFormattedLength (const wchar_t *pszFormat, va_list args)
 
static PROUD_API int __cdecl Format (wchar_t *pszBuffer, size_t nLength, const wchar_t *pszFormat, va_list args) throw ()
 
static PROUD_API wchar_t * StringUppercase (wchar_t *psz, size_t size) throw ()
 
static PROUD_API wchar_t * StringLowercase (wchar_t *psz, size_t size) throw ()
 
static PROUD_API const wchar_t
*__cdecl 
StringFindString (const wchar_t *pszBlock, const wchar_t *pszMatch) throw ()
 
static PROUD_API wchar_t *__cdecl StringFindString (wchar_t *pszBlock, const wchar_t *pszMatch) throw ()
 
static PROUD_API const wchar_t
*__cdecl 
StringFindChar (const wchar_t *pszBlock, wchar_t chMatch) throw ()
 
static PROUD_API int __cdecl StringSpanIncluding (const wchar_t *pszBlock, const wchar_t *pszSet) throw ()
 
static PROUD_API int __cdecl StringSpanExcluding (const wchar_t *pszBlock, const wchar_t *pszSet) throw ()
 
static PROUD_API wchar_t *__cdecl CharNext (const wchar_t *psz) throw ()
 
static PROUD_API int __cdecl IsDigit (wchar_t ch) throw ()
 
static PROUD_API int __cdecl IsSpace (wchar_t ch) throw ()
 
template<typename PNSTRING >
static void ToStdString (const PNSTRING &src, std::string &dest)
 
template<typename PNSTRING >
static void ToStdWString (const PNSTRING &src, std::wstring &dest)
 
template<typename PNSTRING >
static void FromStdString (const std::string &src, PNSTRING &dest)
 
template<typename PNSTRING >
static void FromStdWString (const std::wstring &src, PNSTRING &dest)