Deskflow 1.22.0.197
Keyboard and mouse sharing utility
|
Interface for architecture dependent string operations. More...
#include <ArchString.h>
Public Types | |
enum class | EWideCharEncoding : uint8_t { kUCS2 , kUCS4 , kUTF16 , kUTF32 , kPlatformDetermined } |
Wide character encodings. More... |
Public Member Functions | |
ArchString ()=default | |
ArchString (const ArchString &)=delete | |
ArchString (ArchString &&)=delete | |
~ArchString () override=default | |
ArchString & | operator= (const ArchString &)=delete |
ArchString & | operator= (ArchString &&)=delete |
manipulators | |
int | convStringMBToWC (wchar_t *, const char *, uint32_t n, bool *errors) const |
Convert multibyte string to wide character string. | |
int | convStringWCToMB (char *, const wchar_t *, uint32_t n, bool *errors) const |
Convert wide character string to multibyte string. | |
EWideCharEncoding | getWideCharEncoding () const |
Return the architecture's native wide character encoding. | |
Public Member Functions inherited from IInterface | |
virtual | ~IInterface ()=default |
Interface destructor does nothing. |
Interface for architecture dependent string operations.
This interface defines the string operations required by deskflow. Each architecture must implement this interface.
|
strong |
|
default |
|
delete |
|
delete |
|
overridedefault |
int ArchString::convStringMBToWC | ( | wchar_t * | dst, |
const char * | src, | ||
uint32_t | n, | ||
bool * | errors ) const |
Convert multibyte string to wide character string.
int ArchString::convStringWCToMB | ( | char * | dst, |
const wchar_t * | src, | ||
uint32_t | n, | ||
bool * | errors ) const |
Convert wide character string to multibyte string.
ArchString::EWideCharEncoding ArchString::getWideCharEncoding | ( | ) | const |
Return the architecture's native wide character encoding.
|
delete |
|
delete |