Go to the documentation of this file.
16 #ifndef __RAK_W_STRING_H
17 #define __RAK_W_STRING_H
45 operator wchar_t* ()
const {
if (c_str)
return c_str;
return (
wchar_t*) L
"";}
48 const wchar_t*
C_String(
void)
const {
if (c_str)
return c_str;
return (
const wchar_t*) L
"";}
53 RakWString& operator = (
const wchar_t *
const str );
55 RakWString& operator = (
const char *
const str );
60 RakWString& operator += (
const wchar_t *
const right );
64 bool operator==(
const RakWString &right)
const;
67 bool operator < (
const RakWString& right )
const;
68 bool operator <= (
const RakWString& right )
const;
69 bool operator > (
const RakWString& right )
const;
70 bool operator >= (
const RakWString& right )
const;
73 bool operator!=(
const RakWString &right)
const;
76 void Set(
wchar_t *str );
79 bool IsEmpty(
void)
const;
82 size_t GetLength(
void)
const;
85 static unsigned long ToInteger(
const RakWString &rs);
100 void FPrintf(FILE *fp);
107 static void Serialize(
const wchar_t *
const str,
BitStream *bs);
115 static bool Deserialize(
wchar_t *str,
BitStream *bs);
116 static bool Deserialize(
wchar_t *str,
size_t strLength,
BitStream *bs);