• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

GStringRep::UTF8

GStringRep::UTF8 Class Reference

#include <GString.h>

Inheritance diagram for GStringRep::UTF8:

Inheritance graph
[legend]

List of all members.


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]

Implements GStringRep.

Definition at line 1180 of file GString.cpp.

GP< GStringRep > GStringRep::UTF8::blank ( const unsigned int  sz = 0  )  const [virtual]

Implements GStringRep.

Definition at line 219 of file GString.cpp.

int GStringRep::UTF8::cmp ( const GP< GStringRep > &  s2,
const int  len = (-1) 
) const [virtual]

Implements GStringRep.

Definition at line 2305 of file GString.cpp.

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]

Implements GStringRep.

Definition at line 2495 of file GString.cpp.

bool GStringRep::UTF8::is_valid ( void   )  const [virtual]

Implements GStringRep.

Definition at line 1978 of file GString.cpp.

bool GStringRep::UTF8::isUTF8 ( void   )  const [virtual]

Reimplemented from GStringRep.

Definition at line 225 of file GString.cpp.

int GStringRep::UTF8::ncopy ( wchar_t *const   buf,
const int  buflen 
) const [virtual]

Implements GStringRep.

Definition at line 1890 of file GString.cpp.

double GStringRep::UTF8::toDouble ( const int  pos,
int &  endpos 
) const [virtual]

Implements GStringRep.

Definition at line 2437 of file GString.cpp.

int GStringRep::UTF8::toInt ( void   )  const [virtual]

Implements GStringRep.

Definition at line 2332 of file GString.cpp.

long GStringRep::UTF8::toLong ( const int  pos,
int &  endpos,
const int  base = 10 
) const [virtual]

Implements GStringRep.

Definition at line 2347 of file GString.cpp.

GP< GStringRep > GStringRep::UTF8::toNative ( const EscapeMode  escape = UNKNOWN_ESCAPED  )  const [virtual]

Implements GStringRep.

Definition at line 1929 of file GString.cpp.

GP< GStringRep > GStringRep::UTF8::toThis ( const GP< GStringRep > &  rep,
const GP< GStringRep > &   
) const [virtual]

Implements GStringRep.

Definition at line 231 of file GString.cpp.

unsigned long GStringRep::UTF8::toULong ( const int  pos,
int &  endpos,
const int  base = 10 
) const [virtual]

Implements GStringRep.

Definition at line 2392 of file GString.cpp.

GP< GStringRep > GStringRep::UTF8::toUTF8 ( const bool  nothrow = false  )  const [virtual]

Implements GStringRep.

Definition at line 1969 of file GString.cpp.

unsigned char * GStringRep::UTF8::UCS4toString ( const unsigned long  w,
unsigned char *  ptr,
mbstate_t *  ps = 0 
) const [virtual]

Implements GStringRep.

Definition at line 1883 of file GString.cpp.


The documentation for this class was generated from the following files:
  • GString.h
  • GString.cpp

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal