Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
xstringoperation.h File Reference

strings low level functions and conversion. Some are declared in macos_stringoperation, win_stringoperation... More...

Detailed Description

strings low level functions and conversion. Some are declared in macos_stringoperation, win_stringoperation...

Created by Mootools on 20/05/2016. Copyright © 2016 Mootools. All rights reserved.

Go to the source code of this file.

Classes

class  XCA2W
 Conversion from ansi / utf8 (char) to unicode (wchar_t) More...
 
class  XCW2A
 Conversion from unicode (wchar_t) to ansi / utf8 (char) More...
 

Macros

#define IsStringEncodingUnicode(encodingValue)   ((bool)((encodingValue == xStringUtf16) || (encodingValue == xStringUtf32)))
 

Typedefs

typedef XCA2W XA2W
 
typedef XCW2A XW2A
 
typedef XCW2W XW2W
 
typedef XCA2A XA2A
 
typedef XCA2A XA2T
 
typedef XCA2A XT2A
 
typedef XCA2W XT2W
 
typedef XCW2A XW2T
 
typedef XT2A XCT2A
 
typedef XT2W XCT2W
 
typedef XA2T XCA2T
 
typedef XW2T XCW2T
 

Enumerations

enum  xStringEncoding {
  xStringDefaultEncoding = (unsigned int)-1 , xStringAnsi = 1 , xStringUtf8 , xStringUtf16 ,
  xStringUtf32
}
 

Functions

DLL_TOOLSFUNCTION CXString xLoadString (unsigned int resourceID)
 
DLL_TOOLSFUNCTION SIZET xUTF8ToUTF16 (const unsigned char *utf8, unsigned short *utf16)
 
DLL_TOOLSFUNCTION SIZET xUTF16ToUTF32 (const unsigned short *utf16, SIZET charcount, unsigned int *utf32)
 
bool XFASTCA2W (CXCharArrayW &buffer, LPCSTR pStr, xStringEncoding srcAnsiEncoding=xStringDefaultEncoding)
 
bool XFASTCW2A (CXCharArrayA &buffer, LPCWSTR pWstr, xStringEncoding dstAnsiEncoding=xStringDefaultEncoding)