#include <IArchString.h>
Inherits IInterface.
Inherited by CArch, CArchStringUnix, and CArchStringWindows.
Inheritance diagram for IArchString:
Public Types | |
enum | EWideCharEncoding { kUCS2, kUCS4, kUTF16, kUTF32 } |
Wide character encodings. More... | |
Public Member Functions | |
manipulators | |
virtual int | vsnprintf (char *str, int size, const char *fmt, va_list ap)=0 |
printf() to limited size buffer with va_list | |
virtual int | convStringMBToWC (wchar_t *, const char *, UInt32 n, bool *errors)=0 |
Convert multibyte string to wide character string. | |
virtual int | convStringWCToMB (char *, const wchar_t *, UInt32 n, bool *errors)=0 |
Convert wide character string to multibyte string. | |
virtual EWideCharEncoding | getWideCharEncoding ()=0 |
Return the architecture's native wide character encoding. |
This interface defines the string operations required by synergy. Each architecture must implement this interface.
Definition at line 27 of file IArchString.h.
|
Wide character encodings. The known wide character encodings
Definition at line 33 of file IArchString.h. |
|
printf() to limited size buffer with va_list
This method is equivalent to vsprintf() except it will not write more than Implemented in CArch, CArchStringUnix, and CArchStringWindows. Referenced by CArch::vsnprintf(). |