pleyo.com

WebCore::DeprecatedString Class Reference

#include <DeprecatedString.h>

Inheritance diagram for WebCore::DeprecatedString:

WebCore::DeprecatedConstString

List of all members.

Public Member Functions

 DeprecatedString ()
 DeprecatedString (DeprecatedChar)
 DeprecatedString (const DeprecatedChar *, unsigned)
 DeprecatedString (const char *)
 DeprecatedString (const char *, int len)
 DeprecatedString (const DeprecatedString &)
DeprecatedStringoperator= (const DeprecatedString &)
 ~DeprecatedString ()
DeprecatedStringoperator= (char)
DeprecatedStringoperator= (DeprecatedChar)
DeprecatedStringoperator= (const char *)
DeprecatedStringoperator= (const DeprecatedCString &)
unsigned length () const
const DeprecatedCharunicode () const
const DeprecatedCharstableUnicode ()
const char * latin1 () const
const char * ascii () const
bool isAllASCII () const
bool isAllLatin1 () const
bool hasFastLatin1 () const
void copyLatin1 (char *buffer, unsigned position=0, unsigned length=0xffffffff) const
DeprecatedCString utf8 () const
DeprecatedCString utf8 (int &length) const
bool isNull () const
bool isEmpty () const
DeprecatedChar at (unsigned) const
int compare (const DeprecatedString &) const
int compare (const char *) const
bool startsWith (const DeprecatedString &) const
bool startsWith (const char *) const
bool startsWith (const char *, bool caseSensitive) const
int find (char, int index=0) const
int find (DeprecatedChar, int index=0) const
int find (const char *, int index=0, bool cs=true) const
int find (const DeprecatedString &, int index=0, bool cs=true) const
int find (const RegularExpression &, int index=0) const
int findRev (char, int index=-1) const
int findRev (const DeprecatedString &str, int index, bool cs=true) const
int findRev (const char *, int index=-1) const
int contains (char) const
int contains (const char *, bool cs=true) const
int contains (const DeprecatedString &, bool cs=true) const
int contains (DeprecatedChar c, bool cs=true) const
bool endsWith (const DeprecatedString &) const
short toShort (bool *ok=0, int base=10) const
unsigned short toUShort (bool *ok=0, int base=10) const
int toInt (bool *ok=0, int base=10) const
int64_t toInt64 (bool *ok=0, int base=10) const
unsigned toUInt (bool *ok=0, int base=10) const
uint64_t toUInt64 (bool *ok=0, int base=10) const
double toDouble (bool *ok=0) const
float toFloat (bool *ok=0) const
DeprecatedString left (unsigned) const
DeprecatedString right (unsigned) const
DeprecatedString mid (unsigned, unsigned len=0xffffffff) const
DeprecatedString copy () const
DeprecatedString lower () const
DeprecatedString stripWhiteSpace () const
DeprecatedString simplifyWhiteSpace () const
DeprecatedStringsetUnicode (const DeprecatedChar *, unsigned)
DeprecatedStringsetLatin1 (const char *, int len=-1)
DeprecatedStringsetNum (short)
DeprecatedStringsetNum (unsigned short)
DeprecatedStringsetNum (int)
DeprecatedStringsetNum (unsigned)
DeprecatedStringsetNum (long)
DeprecatedStringsetNum (unsigned long)
DeprecatedStringsetNum (double)
DeprecatedStringformat (const char *,...)
DeprecatedStringappend (const DeprecatedString &)
DeprecatedStringappend (DeprecatedChar)
DeprecatedStringappend (char)
DeprecatedStringinsert (unsigned, const DeprecatedString &)
DeprecatedStringinsert (unsigned, DeprecatedChar)
DeprecatedStringinsert (unsigned, char)
DeprecatedStringinsert (unsigned index, const char *insertChars, unsigned insertLength)
DeprecatedStringprepend (const DeprecatedString &)
DeprecatedStringremove (unsigned, unsigned)
DeprecatedStringremove (const DeprecatedChar &c)
DeprecatedStringremove (const DeprecatedString &s)
DeprecatedStringreplace (unsigned index, unsigned len, const DeprecatedString &s)
DeprecatedStringreplace (char, const DeprecatedString &)
DeprecatedStringreplace (DeprecatedChar, const DeprecatedString &)
DeprecatedStringreplace (const DeprecatedString &, const DeprecatedString &)
DeprecatedStringreplace (const RegularExpression &, const DeprecatedString &)
DeprecatedStringreplace (DeprecatedChar, DeprecatedChar)
DeprecatedStringappend (const DeprecatedChar *, unsigned length)
DeprecatedStringappend (const char *, unsigned length)
DeprecatedStringinsert (unsigned position, const DeprecatedChar *, unsigned length)
DeprecatedStringprepend (const DeprecatedChar *, unsigned length)
void fill (DeprecatedChar, int len=-1)
void truncate (unsigned)
void reserve (unsigned)
bool operator! () const
const DeprecatedChar operator[] (int) const
DeprecatedStringoperator+= (const DeprecatedString &s)
DeprecatedStringoperator+= (DeprecatedChar c)
DeprecatedStringoperator+= (char c)

Static Public Member Functions

static DeprecatedString fromLatin1 (const char *)
static DeprecatedString fromLatin1 (const char *, int len)
static DeprecatedString fromUtf8 (const char *)
static DeprecatedString fromUtf8 (const char *, int len)
static DeprecatedString number (int)
static DeprecatedString number (unsigned)
static DeprecatedString number (long)
static DeprecatedString number (unsigned long)
static DeprecatedString number (double)

Static Public Attributes

static const char *const null = 0

Friends

class DeprecatedConstString
class QGDict
struct DeprecatedStringData
bool operator== (const DeprecatedString &, const DeprecatedString &)
bool operator== (const DeprecatedString &, const char *)
bool equalIgnoringCase (const DeprecatedString &, const DeprecatedString &)


Constructor & Destructor Documentation

WebCore::DeprecatedString::DeprecatedString (  ) 

WebCore::DeprecatedString::DeprecatedString ( DeprecatedChar  qc  ) 

WebCore::DeprecatedString::DeprecatedString ( const DeprecatedChar unicode,
unsigned  length 
)

WebCore::DeprecatedString::DeprecatedString ( const char *  chs  ) 

WebCore::DeprecatedString::DeprecatedString ( const char *  chs,
int  len 
)

WebCore::DeprecatedString::DeprecatedString ( const DeprecatedString qs  ) 

WebCore::DeprecatedString::~DeprecatedString (  ) 


Member Function Documentation

DeprecatedString & WebCore::DeprecatedString::operator= ( const DeprecatedString qs  ) 

DeprecatedString WebCore::DeprecatedString::fromLatin1 ( const char *  chs  )  [inline, static]

DeprecatedString WebCore::DeprecatedString::fromLatin1 ( const char *  chs,
int  len 
) [inline, static]

DeprecatedString WebCore::DeprecatedString::fromUtf8 ( const char *  chs  )  [static]

DeprecatedString WebCore::DeprecatedString::fromUtf8 ( const char *  chs,
int  len 
) [static]

DeprecatedString & WebCore::DeprecatedString::operator= ( char  ch  ) 

DeprecatedString & WebCore::DeprecatedString::operator= ( DeprecatedChar  qc  ) 

DeprecatedString & WebCore::DeprecatedString::operator= ( const char *  chs  ) 

DeprecatedString & WebCore::DeprecatedString::operator= ( const DeprecatedCString qcs  ) 

unsigned WebCore::DeprecatedString::length (  )  const [inline]

const DeprecatedChar * WebCore::DeprecatedString::unicode (  )  const [inline]

const DeprecatedChar * WebCore::DeprecatedString::stableUnicode (  ) 

const char * WebCore::DeprecatedString::latin1 (  )  const [inline]

const char * WebCore::DeprecatedString::ascii (  )  const [inline]

bool WebCore::DeprecatedString::isAllASCII (  )  const

bool WebCore::DeprecatedString::isAllLatin1 (  )  const

bool WebCore::DeprecatedString::hasFastLatin1 (  )  const

void WebCore::DeprecatedString::copyLatin1 ( char *  buffer,
unsigned  position = 0,
unsigned  length = 0xffffffff 
) const

DeprecatedCString WebCore::DeprecatedString::utf8 (  )  const [inline]

DeprecatedCString WebCore::DeprecatedString::utf8 ( int length  )  const

bool WebCore::DeprecatedString::isNull (  )  const

bool WebCore::DeprecatedString::isEmpty (  )  const [inline]

DeprecatedChar WebCore::DeprecatedString::at ( unsigned  i  )  const

int WebCore::DeprecatedString::compare ( const DeprecatedString s  )  const

int WebCore::DeprecatedString::compare ( const char *  chs  )  const

bool WebCore::DeprecatedString::startsWith ( const DeprecatedString s  )  const

bool WebCore::DeprecatedString::startsWith ( const char *  prefix  )  const

bool WebCore::DeprecatedString::startsWith ( const char *  prefix,
bool  caseSensitive 
) const

int WebCore::DeprecatedString::find ( char  ch,
int  index = 0 
) const

int WebCore::DeprecatedString::find ( DeprecatedChar  qc,
int  index = 0 
) const

int WebCore::DeprecatedString::find ( const char *  chs,
int  index = 0,
bool  cs = true 
) const

int WebCore::DeprecatedString::find ( const DeprecatedString str,
int  index = 0,
bool  cs = true 
) const

int WebCore::DeprecatedString::find ( const RegularExpression qre,
int  index = 0 
) const

int WebCore::DeprecatedString::findRev ( char  ch,
int  index = -1 
) const

int WebCore::DeprecatedString::findRev ( const DeprecatedString str,
int  index,
bool  cs = true 
) const

int WebCore::DeprecatedString::findRev ( const char *  chs,
int  index = -1 
) const

int WebCore::DeprecatedString::contains ( char  ch  )  const

int WebCore::DeprecatedString::contains ( const char *  str,
bool  cs = true 
) const

int WebCore::DeprecatedString::contains ( const DeprecatedString str,
bool  cs = true 
) const

int WebCore::DeprecatedString::contains ( DeprecatedChar  c,
bool  cs = true 
) const

bool WebCore::DeprecatedString::endsWith ( const DeprecatedString s  )  const

short WebCore::DeprecatedString::toShort ( bool *  ok = 0,
int  base = 10 
) const

unsigned short WebCore::DeprecatedString::toUShort ( bool *  ok = 0,
int  base = 10 
) const

int WebCore::DeprecatedString::toInt ( bool *  ok = 0,
int  base = 10 
) const

int64_t WebCore::DeprecatedString::toInt64 ( bool *  ok = 0,
int  base = 10 
) const

unsigned WebCore::DeprecatedString::toUInt ( bool *  ok = 0,
int  base = 10 
) const

uint64_t WebCore::DeprecatedString::toUInt64 ( bool *  ok = 0,
int  base = 10 
) const

double WebCore::DeprecatedString::toDouble ( bool *  ok = 0  )  const

float WebCore::DeprecatedString::toFloat ( bool *  ok = 0  )  const

DeprecatedString WebCore::DeprecatedString::number ( int  n  )  [static]

DeprecatedString WebCore::DeprecatedString::number ( unsigned  n  )  [static]

DeprecatedString WebCore::DeprecatedString::number ( long  n  )  [static]

DeprecatedString WebCore::DeprecatedString::number ( unsigned long  n  )  [static]

DeprecatedString WebCore::DeprecatedString::number ( double  n  )  [static]

DeprecatedString WebCore::DeprecatedString::left ( unsigned  len  )  const

DeprecatedString WebCore::DeprecatedString::right ( unsigned  len  )  const

DeprecatedString WebCore::DeprecatedString::mid ( unsigned  start,
unsigned  len = 0xffffffff 
) const

DeprecatedString WebCore::DeprecatedString::copy (  )  const

DeprecatedString WebCore::DeprecatedString::lower (  )  const

DeprecatedString WebCore::DeprecatedString::stripWhiteSpace (  )  const

DeprecatedString WebCore::DeprecatedString::simplifyWhiteSpace (  )  const

DeprecatedString & WebCore::DeprecatedString::setUnicode ( const DeprecatedChar uni,
unsigned  len 
)

DeprecatedString & WebCore::DeprecatedString::setLatin1 ( const char *  str,
int  len = -1 
)

DeprecatedString & WebCore::DeprecatedString::setNum ( short  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( unsigned short  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( int  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( unsigned  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( long  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( unsigned long  n  ) 

DeprecatedString & WebCore::DeprecatedString::setNum ( double  n  ) 

DeprecatedString & WebCore::DeprecatedString::format ( const char *  format,
  ... 
)

DeprecatedString & WebCore::DeprecatedString::append ( const DeprecatedString qs  ) 

DeprecatedString & WebCore::DeprecatedString::append ( DeprecatedChar  qc  ) 

DeprecatedString & WebCore::DeprecatedString::append ( char  ch  ) 

DeprecatedString & WebCore::DeprecatedString::insert ( unsigned  index,
const DeprecatedString qs 
)

DeprecatedString & WebCore::DeprecatedString::insert ( unsigned  index,
DeprecatedChar  qc 
)

DeprecatedString & WebCore::DeprecatedString::insert ( unsigned  index,
char  ch 
)

DeprecatedString & WebCore::DeprecatedString::insert ( unsigned  index,
const char *  insertChars,
unsigned  insertLength 
)

DeprecatedString & WebCore::DeprecatedString::prepend ( const DeprecatedString qs  ) 

DeprecatedString & WebCore::DeprecatedString::remove ( unsigned  index,
unsigned  len 
)

DeprecatedString& WebCore::DeprecatedString::remove ( const DeprecatedChar c  )  [inline]

DeprecatedString& WebCore::DeprecatedString::remove ( const DeprecatedString s  )  [inline]

DeprecatedString & WebCore::DeprecatedString::replace ( unsigned  index,
unsigned  len,
const DeprecatedString s 
)

DeprecatedString & WebCore::DeprecatedString::replace ( char  pattern,
const DeprecatedString str 
)

DeprecatedString & WebCore::DeprecatedString::replace ( DeprecatedChar  pattern,
const DeprecatedString str 
)

DeprecatedString & WebCore::DeprecatedString::replace ( const DeprecatedString pattern,
const DeprecatedString str 
)

DeprecatedString & WebCore::DeprecatedString::replace ( const RegularExpression qre,
const DeprecatedString str 
)

DeprecatedString & WebCore::DeprecatedString::replace ( DeprecatedChar  oldChar,
DeprecatedChar  newChar 
)

DeprecatedString & WebCore::DeprecatedString::append ( const DeprecatedChar characters,
unsigned  length 
)

DeprecatedString & WebCore::DeprecatedString::append ( const char *  characters,
unsigned  length 
)

DeprecatedString & WebCore::DeprecatedString::insert ( unsigned  position,
const DeprecatedChar insertChars,
unsigned  length 
)

DeprecatedString & WebCore::DeprecatedString::prepend ( const DeprecatedChar characters,
unsigned  length 
)

void WebCore::DeprecatedString::fill ( DeprecatedChar  qc,
int  len = -1 
)

void WebCore::DeprecatedString::truncate ( unsigned  newLen  ) 

void WebCore::DeprecatedString::reserve