String.h File Reference


Detailed Description

Unicode (UTF-8) string class.

#include <support/SupportDefs.h>
#include <support/ITextStream.h>
#include <support/Value.h>
#include <string.h>
#include <PalmTypes.h>

Go to the source code of this file.

Classes

class  SString
 UTF8 string container. More...

Defines

#define B_UTF8_BULLET   "\xE2\x80\xA2"
#define B_UTF8_COPYRIGHT   "\xC2\xA9"
#define B_UTF8_DOUBLE_CLOSE_QUOTE   "\xE2\x80\x9D"
#define B_UTF8_DOUBLE_OPEN_QUOTE   "\xE2\x80\x9C"
#define B_UTF8_ELLIPSIS   "\xE2\x80\xA6"
#define B_UTF8_HIROSHI   "\xE5\xBC\x98"
#define B_UTF8_REGISTERED   "\xC2\xAE"
#define B_UTF8_SINGLE_CLOSE_QUOTE   "\xE2\x80\x99"
#define B_UTF8_SINGLE_OPEN_QUOTE   "\xE2\x80\x98"
#define B_UTF8_SMILING_FACE_BLACK   "\xE2\x98\xBB"
#define B_UTF8_SMILING_FACE_WHITE   "\xE2\x98\xBA"
#define B_UTF8_TRADEMARK   "\xE2\x84\xA2"

Enumerations

enum  {
  B_UTF32_ELLIPSIS = 0x2026, B_UTF32_BULLET = 0x2022, B_UTF32_SINGLE_OPEN_QUOTE = 0x2018, B_UTF32_SINGLE_CLOSE_QUOTE = 0x2019,
  B_UTF32_DOUBLE_OPEN_QUOTE = 0x201C, B_UTF32_DOUBLE_CLOSE_QUOTE = 0x201D, B_UTF32_COPYRIGHT = 0x00A9, B_UTF32_REGISTERED = 0x00AE,
  B_UTF32_TRADEMARK = 0x2122, B_UTF32_SMILING_FACE_WHITE = 0x263A, B_UTF32_SMILING_FACE_BLACK = 0x263B
}

Functions

SValue BArrayAsValue (const SString *from, size_t count)
status_t BArrayConstruct (SString *to, const SValue &value, size_t count)
int32_t BCompare (const SString &v1, const SString &v2)
_IMPEXP_SUPPORT void BMoveAfter (SString *to, SString *from, size_t count)
_IMPEXP_SUPPORT void BMoveBefore (SString *to, SString *from, size_t count)
void BSwap (SString &v1, SString &v2)
int Compare (const SString *, const SString *)
int Compare (const SString &, const SString &)
int ICompare (const SString *, const SString *)
int ICompare (const SString &, const SString &)
bool operator!= (const char *, const SString &)
bool operator< (const char *, const SString &)
_IMPEXP_SUPPORT const sptr<
ITextOutput > & 
operator<< (const sptr< ITextOutput > &io, const SString &string)
bool operator<= (const char *, const SString &)
bool operator== (const char *, const SString &)
bool operator> (const char *, const SString &)
bool operator>= (const char *, const SString &)
void swap (SString &x, SString &y)


Function Documentation

SValue BArrayAsValue const SString from,
size_t  count
 

status_t BArrayConstruct SString to,
const SValue value,
size_t  count