kviewshell
GStringRep::UTF8 Class Reference
#include <GString.h>
Inheritance diagram for GStringRep::UTF8:
Public Member Functions | |
virtual GP< GStringRep > | append (const GP< GStringRep > &s2) const |
virtual GP< GStringRep > | blank (const unsigned int sz=0) const |
virtual int | cmp (const GP< GStringRep > &s2, const int len=(-1)) const |
virtual bool | is_valid (void) const |
virtual bool | isUTF8 (void) const |
virtual int | ncopy (wchar_t *const buf, const int buflen) const |
virtual double | toDouble (const int pos, int &endpos) const |
virtual int | toInt (void) const |
virtual long int | toLong (const int pos, int &endpos, const int base=10) const |
virtual GP< GStringRep > | toNative (const EscapeMode escape=UNKNOWN_ESCAPED) const |
virtual GP< GStringRep > | toThis (const GP< GStringRep > &rep, const GP< GStringRep > &) const |
virtual unsigned long | toULong (const int pos, int &endpos, const int base=10) const |
virtual GP< GStringRep > | toUTF8 (const bool nothrow=false) const |
virtual unsigned char * | UCS4toString (const unsigned long w, unsigned char *ptr, mbstate_t *ps=0) const |
UTF8 (void) | |
virtual | ~UTF8 () |
Static Public Member Functions | |
static GP< GStringRep > | create (const char fmt[], va_list &args) |
static GP< GStringRep > | create (const unsigned long *s, const int start, const int length=(-1)) |
static GP< GStringRep > | create (const unsigned short *s, const int start, const int length=(-1)) |
static GP< GStringRep > | create (const char *s, const int start, const int length=(-1)) |
static GP< GStringRep > | create (const char *s1, const char *s2) |
static GP< GStringRep > | create (const char *s1, const GP< GStringRep > &s2) |
static GP< GStringRep > | create (const GP< GStringRep > &s1, const char *s2) |
static GP< GStringRep > | create (const GP< GStringRep > &s1, const GP< GStringRep > &s2) |
static GP< GStringRep > | create (const char *s) |
static GP< GStringRep > | create (const unsigned int sz=0) |
static GP< GStringRep > | create_format (const char fmt[],...) |
Protected Member Functions | |
virtual unsigned long | getValidUCS4 (const char *&source) const |
Detailed Description
Definition at line 365 of file GString.h.
Constructor & Destructor Documentation
GStringRep::UTF8::UTF8 | ( | void | ) |
Definition at line 2259 of file GString.cpp.
GStringRep::UTF8::~UTF8 | ( | ) | [virtual] |
Definition at line 2261 of file GString.cpp.
Member Function Documentation
GP< GStringRep > GStringRep::UTF8::append | ( | const GP< GStringRep > & | s2 | ) | const [virtual] |
GP< GStringRep > GStringRep::UTF8::blank | ( | const unsigned int | sz = 0 |
) | const [virtual] |
int GStringRep::UTF8::cmp | ( | const GP< GStringRep > & | s2, | |
const int | len = (-1) | |||
) | const [virtual] |
GP< GStringRep > GStringRep::UTF8::create | ( | const char | fmt[], | |
va_list & | args | |||
) | [static] |
Definition at line 238 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const unsigned long * | s, | |
const int | start, | |||
const int | length = (-1) | |||
) | [static] |
Definition at line 211 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const unsigned short * | s, | |
const int | start, | |||
const int | length = (-1) | |||
) | [static] |
Definition at line 203 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const char * | s, | |
const int | start, | |||
const int | length = (-1) | |||
) | [static] |
Definition at line 196 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const char * | s1, | |
const char * | s2 | |||
) | [static] |
Definition at line 189 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const char * | s1, | |
const GP< GStringRep > & | s2 | |||
) | [static] |
Definition at line 182 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const GP< GStringRep > & | s1, | |
const char * | s2 | |||
) | [static] |
Definition at line 175 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const GP< GStringRep > & | s1, | |
const GP< GStringRep > & | s2 | |||
) | [static] |
Definition at line 168 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const char * | s | ) | [static] |
Definition at line 161 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create | ( | const unsigned int | sz = 0 |
) | [static] |
Definition at line 155 of file GString.cpp.
GP< GStringRep > GStringRep::UTF8::create_format | ( | const char | fmt[], | |
... | ||||
) | [static] |
Definition at line 1627 of file GString.cpp.
unsigned long GStringRep::UTF8::getValidUCS4 | ( | const char *& | source | ) | const [protected, virtual] |
bool GStringRep::UTF8::is_valid | ( | void | ) | const [virtual] |
bool GStringRep::UTF8::isUTF8 | ( | void | ) | const [virtual] |
int GStringRep::UTF8::ncopy | ( | wchar_t *const | buf, | |
const int | buflen | |||
) | const [virtual] |
double GStringRep::UTF8::toDouble | ( | const int | pos, | |
int & | endpos | |||
) | const [virtual] |
int GStringRep::UTF8::toInt | ( | void | ) | const [virtual] |
long GStringRep::UTF8::toLong | ( | const int | pos, | |
int & | endpos, | |||
const int | base = 10 | |||
) | const [virtual] |
GP< GStringRep > GStringRep::UTF8::toNative | ( | const EscapeMode | escape = UNKNOWN_ESCAPED |
) | const [virtual] |
GP< GStringRep > GStringRep::UTF8::toThis | ( | const GP< GStringRep > & | rep, | |
const GP< GStringRep > & | ||||
) | const [virtual] |
unsigned long GStringRep::UTF8::toULong | ( | const int | pos, | |
int & | endpos, | |||
const int | base = 10 | |||
) | const [virtual] |
GP< GStringRep > GStringRep::UTF8::toUTF8 | ( | const bool | nothrow = false |
) | const [virtual] |
unsigned char * GStringRep::UTF8::UCS4toString | ( | const unsigned long | w, | |
unsigned char * | ptr, | |||
mbstate_t * | ps = 0 | |||
) | const [virtual] |
The documentation for this class was generated from the following files: