KDbEscapedString

Search for usage in LXR

#include <KDbEscapedString.h>

Inheritance diagram for KDbEscapedString:

Public Types

typedef QByteArray::DataPtr DataPtr
 

Public Member Functions

 KDbEscapedString (char ch)
 
 KDbEscapedString (const char *string)
 
 KDbEscapedString (const KDbEscapedString &string)
 
 KDbEscapedString (const QByteArray &string)
 
 KDbEscapedString (const QString &string)
 
 KDbEscapedString (QChar ch)
 
KDbEscapedStringappend (char c)
 
KDbEscapedStringappend (const char *s)
 
KDbEscapedStringappend (const char *s, int len)
 
KDbEscapedStringappend (const KDbEscapedString &s)
 
KDbEscapedStringappend (const QByteArray &a)
 
KDbEscapedStringappend (const QString &a)
 
KDbEscapedString arg (char a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (const KDbEscapedString &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4, const KDbEscapedString &a5) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4, const KDbEscapedString &a5, const KDbEscapedString &a6) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4, const KDbEscapedString &a5, const KDbEscapedString &a6, const KDbEscapedString &a7) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4, const KDbEscapedString &a5, const KDbEscapedString &a6, const KDbEscapedString &a7, const KDbEscapedString &a8) const
 
KDbEscapedString arg (const KDbEscapedString &a1, const KDbEscapedString &a2, const KDbEscapedString &a3, const KDbEscapedString &a4, const KDbEscapedString &a5, const KDbEscapedString &a6, const KDbEscapedString &a7, const KDbEscapedString &a8, const KDbEscapedString &a9) const
 
KDbEscapedString arg (const QByteArray &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (const QString &a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (double a, int fieldWidth=0, char format='g', int precision=-1, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (int a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (long a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (QChar a, int fieldWidth=0, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (qlonglong a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (qulonglong a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (short a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (uint a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (ulong a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
KDbEscapedString arg (ushort a, int fieldWidth=0, int base=10, const QChar &fillChar=QLatin1Char(' ')) const
 
char at (int i) const
 
int capacity () const
 
void chop (int n)
 
void clear ()
 
const char * constData () const
 
int count () const
 
int count (char c) const
 
int count (const char *a) const
 
int count (const KDbEscapedString &s) const
 
int count (const QByteArray &a) const
 
char * data ()
 
const char * data () const
 
DataPtr & data_ptr ()
 
bool endsWith (char c) const
 
bool endsWith (const char *c) const
 
bool endsWith (const KDbEscapedString &s) const
 
bool endsWith (const QByteArray &a) const
 
KDbEscapedStringfill (char c, int size=-1)
 
int indexOf (char c, int from=0) const
 
int indexOf (const char *c, int from=0) const
 
int indexOf (const KDbEscapedString &s, int from=0) const
 
int indexOf (const QByteArray &a, int from=0) const
 
KDbEscapedStringinsert (int i, char c)
 
KDbEscapedStringinsert (int i, const char *s)
 
KDbEscapedStringinsert (int i, const KDbEscapedString &s)
 
KDbEscapedStringinsert (int i, const QByteArray &a)
 
bool isEmpty () const
 
bool isNull () const
 
bool isValid () const
 
int lastIndexOf (char c, int from=-1) const
 
int lastIndexOf (const char *c, int from=-1) const
 
int lastIndexOf (const KDbEscapedString &s, int from=0) const
 
int lastIndexOf (const QByteArray &a, int from=-1) const
 
KDbEscapedString left (int len) const
 
KDbEscapedString leftJustified (int width, char fill=' ', bool truncate=false) const
 
int length () const
 
KDbEscapedString mid (int index, int len=-1) const
 
KDbEscapedStringoperator+= (char c)
 
KDbEscapedStringoperator+= (const char *s)
 
KDbEscapedStringoperator+= (const KDbEscapedString &s)
 
KDbEscapedStringoperator+= (const QByteArray &a)
 
KDbEscapedStringoperator+= (const QString &a)
 
KDbEscapedStringoperator= (const char *string)
 
KDbEscapedStringoperator= (const KDbEscapedString &string)
 
KDbEscapedStringoperator= (const QByteArray &string)
 
bool operator== (const KDbEscapedString &other) const
 
QByteRef operator[] (int i)
 
char operator[] (int i) const
 
QByteRef operator[] (uint i)
 
char operator[] (uint i) const
 
KDbEscapedStringprepend (char c)
 
KDbEscapedStringprepend (const char *s)
 
KDbEscapedStringprepend (const KDbEscapedString &s)
 
KDbEscapedStringprepend (const QByteArray &a)
 
KDbEscapedStringremove (int index, int len)
 
KDbEscapedString repeated (int times) const
 
KDbEscapedStringreplace (char before, char after)
 
KDbEscapedStringreplace (char before, const char *after)
 
KDbEscapedStringreplace (char before, const KDbEscapedString &after)
 
KDbEscapedStringreplace (char before, const QByteArray &after)
 
KDbEscapedStringreplace (const char *before, const char *after)
 
KDbEscapedStringreplace (const char *before, const QByteArray &after)
 
KDbEscapedStringreplace (const char *before, int bsize, const char *after, int asize)
 
KDbEscapedStringreplace (const KDbEscapedString &before, const KDbEscapedString &after)
 
KDbEscapedStringreplace (const KDbEscapedString &before, const QByteArray &after)
 
KDbEscapedStringreplace (const QByteArray &before, const char *after)
 
KDbEscapedStringreplace (const QByteArray &before, const KDbEscapedString &after)
 
KDbEscapedStringreplace (const QByteArray &before, const QByteArray &after)
 
KDbEscapedStringreplace (int index, int len, const char *s)
 
KDbEscapedStringreplace (int index, int len, const KDbEscapedString &s)
 
KDbEscapedStringreplace (int index, int len, const QByteArray &s)
 
void reserve (int size)
 
void resize (int size)
 
KDbEscapedString right (int len) const
 
KDbEscapedString rightJustified (int width, char fill=' ', bool truncate=false) const
 
KDbEscapedStringsetNum (double val, char f='g', int prec=6)
 
KDbEscapedStringsetNum (float val, char f='g', int prec=6)
 
KDbEscapedStringsetNum (int val, int base=10)
 
KDbEscapedStringsetNum (qlonglong val, int base=10)
 
KDbEscapedStringsetNum (qulonglong val, int base=10)
 
KDbEscapedStringsetNum (short val, int base=10)
 
KDbEscapedStringsetNum (uint val, int base=10)
 
KDbEscapedStringsetNum (ushort val, int base=10)
 
KDbEscapedString simplified () const
 
int size () const
 
QList< KDbEscapedStringsplit (char sep) const
 
void squeeze ()
 
bool startsWith (char c) const
 
bool startsWith (const char *c) const
 
bool startsWith (const KDbEscapedString &s) const
 
bool startsWith (const QByteArray &a) const
 
KDbEscapedString toBase64 () const
 
QByteArray toByteArray () const
 
double toDouble (bool *ok=nullptr) const
 
float toFloat (bool *ok=nullptr) const
 
KDbEscapedString toHex () const
 
int toInt (bool *ok=nullptr, int base=10) const
 
long toLong (bool *ok=nullptr, int base=10) const
 
qlonglong toLongLong (bool *ok=nullptr, int base=10) const
 
KDbEscapedString toLower () const
 
KDbEscapedString toPercentEncoding (const QByteArray &exclude=QByteArray(), const QByteArray &include=QByteArray(), char percent='%') const
 
short toShort (bool *ok=nullptr, int base=10) const
 
QString toString () const
 
uint toUInt (bool *ok=nullptr, int base=10) const
 
ulong toULong (bool *ok=nullptr, int base=10) const
 
qulonglong toULongLong (bool *ok=nullptr, int base=10) const
 
KDbEscapedString toUpper () const
 
ushort toUShort (bool *ok=nullptr, int base=10) const
 
KDbEscapedString trimmed () const
 
void truncate (int pos)
 

Static Public Member Functions

static KDbEscapedString fromBase64 (const KDbEscapedString &base64)
 
static KDbEscapedString fromBase64 (const QByteArray &base64)
 
static KDbEscapedString fromHex (const KDbEscapedString &hexEncoded)
 
static KDbEscapedString fromHex (const QByteArray &hexEncoded)
 
static KDbEscapedString fromPercentEncoding (const KDbEscapedString &pctEncoded, char percent='%')
 
static KDbEscapedString fromPercentEncoding (const QByteArray &pctEncoded, char percent='%')
 
static KDbEscapedString fromRawData (const char *s, int size)
 
static KDbEscapedString invalid ()
 
static KDbEscapedString number (double val, char f='g', int prec=6)
 
static KDbEscapedString number (int val, int base=10)
 
static KDbEscapedString number (qlonglong val, int base=10)
 
static KDbEscapedString number (qulonglong val, int base=10)
 
static KDbEscapedString number (uint val, int base=10)
 

Additional Inherited Members

- Protected Types inherited from QByteArray
enum  Base64Option
 
typedef  Base64Options
 
typedef  const_reverse_iterator
 
typedef  reverse_iterator
 
- Protected Member Functions inherited from QByteArray
 QByteArray (const char *data, qsizetype size)
 
 QByteArray (const QByteArray &other)
 
 QByteArray (QByteArray &&other)
 
 QByteArray (qsizetype size, char ch)
 
 QByteArray (qsizetype size, Qt::Initialization)
 
QByteArrayappend (char ch)
 
QByteArrayappend (const char *str)
 
QByteArrayappend (const char *str, qsizetype len)
 
QByteArrayappend (const QByteArray &ba)
 
QByteArrayappend (QByteArrayView data)
 
QByteArrayappend (qsizetype count, char ch)
 
QByteArrayassign (InputIterator first, InputIterator last)
 
QByteArrayassign (QByteArrayView v)
 
QByteArrayassign (qsizetype n, char c)
 
char at (qsizetype i) const const
 
char & back ()
 
char back () const const
 
iterator begin ()
 
const_iterator begin () const const
 
qsizetype capacity () const const
 
const_iterator cbegin () const const
 
const_iterator cend () const const
 
void chop (qsizetype n)
 
QByteArray chopped (qsizetype len) const const
 
void clear ()
 
int compare (QByteArrayView bv, Qt::CaseSensitivity cs) const const
 
const_iterator constBegin () const const
 
const char * constData () const const
 
const_iterator constEnd () const const
 
bool contains (char ch) const const
 
bool contains (QByteArrayView bv) const const
 
qsizetype count () const const
 
qsizetype count (char ch) const const
 
qsizetype count (QByteArrayView bv) const const
 
const_reverse_iterator crbegin () const const
 
const_reverse_iterator crend () const const
 
char * data ()
 
const char * data () const const
 
iterator end ()
 
const_iterator end () const const
 
bool endsWith (char ch) const const
 
bool endsWith (QByteArrayView bv) const const
 
iterator erase (const_iterator first, const_iterator last)
 
iterator erase (const_iterator it)
 
qsizetype erase (QByteArray &ba, const T &t)
 
qsizetype erase_if (QByteArray &ba, Predicate pred)
 
QByteArrayfill (char ch, qsizetype size)
 
QByteArray first (qsizetype n) const const
 
char & front ()
 
char front () const const
 
qsizetype indexOf (char ch, qsizetype from) const const
 
qsizetype indexOf (QByteArrayView bv, qsizetype from) const const
 
QByteArrayinsert (qsizetype i, char ch)
 
QByteArrayinsert (qsizetype i, const char *data, qsizetype len)
 
QByteArrayinsert (qsizetype i, const char *s)
 
QByteArrayinsert (qsizetype i, const QByteArray &data)
 
QByteArrayinsert (qsizetype i, QByteArrayView data)
 
QByteArrayinsert (qsizetype i, qsizetype count, char ch)
 
bool isEmpty () const const
 
bool isLower () const const
 
bool isNull () const const
 
bool isUpper () const const
 
bool isValidUtf8 () const const
 
QByteArray last (qsizetype n) const const
 
qsizetype lastIndexOf (char ch, qsizetype from) const const
 
qsizetype lastIndexOf (QByteArrayView bv) const const
 
qsizetype lastIndexOf (QByteArrayView bv, qsizetype from) const const
 
QByteArray left (qsizetype len) const const
 
QByteArray leftJustified (qsizetype width, char fill, bool truncate) const const
 
qsizetype length () const const
 
QByteArray mid (qsizetype pos, qsizetype len) const const
 
const char * operator const char * () const const
 
const void * operator const void * () const const
 
bool operator!= (const char *a1, const QByteArray &a2)
 
bool operator!= (const QByteArray &a1, const char *a2)
 
bool operator!= (const QByteArray &a1, const QByteArray &a2)
 
bool operator!= (const QString &str) const const
 
QByteArray operator""_ba (const char *str, size_t size)
 
QByteArray operator""_qba (const char *str, size_t size)
 
QByteArray operator+ (char a1, const QByteArray &a2)
 
QByteArray operator+ (const char *a1, const QByteArray &a2)
 
QByteArray operator+ (const QByteArray &a1, char a2)
 
QByteArray operator+ (const QByteArray &a1, const char *a2)
 
QByteArray operator+ (const QByteArray &a1, const QByteArray &a2)
 
QByteArrayoperator+= (char ch)
 
QByteArrayoperator+= (const char *str)
 
QByteArrayoperator+= (const QByteArray &ba)
 
bool operator< (const char *a1, const QByteArray &a2)
 
bool operator< (const QByteArray &a1, const char *a2)
 
bool operator< (const QByteArray &a1, const QByteArray &a2)
 
bool operator< (const QString &str) const const
 
QDataStreamoperator<< (QDataStream &out, const QByteArray &ba)
 
bool operator<= (const char *a1, const QByteArray &a2)
 
bool operator<= (const QByteArray &a1, const char *a2)
 
bool operator<= (const QByteArray &a1, const QByteArray &a2)
 
bool operator<= (const QString &str) const const
 
QByteArrayoperator= (const char *str)
 
QByteArrayoperator= (const QByteArray &other)
 
QByteArrayoperator= (QByteArray &&other)
 
bool operator== (const char *a1, const QByteArray &a2)
 
bool operator== (const QByteArray &a1, const char *a2)
 
bool operator== (const QByteArray &a1, const QByteArray &a2)
 
bool operator== (const QString &str) const const
 
bool operator> (const char *a1, const QByteArray &a2)
 
bool operator> (const QByteArray &a1, const char *a2)
 
bool operator> (const QByteArray &a1, const QByteArray &a2)
 
bool operator> (const QString &str) const const
 
bool operator>= (const char *a1, const QByteArray &a2)
 
bool operator>= (const QByteArray &a1, const char *a2)
 
bool operator>= (const QByteArray &a1, const QByteArray &a2)
 
bool operator>= (const QString &str) const const
 
QDataStreamoperator>> (QDataStream &in, QByteArray &ba)
 
char & operator[] (qsizetype i)
 
char operator[] (qsizetype i) const const
 
QByteArray percentDecoded (char percent) const const
 
QByteArrayprepend (char ch)
 
QByteArrayprepend (const char *str)
 
QByteArrayprepend (const char *str, qsizetype len)
 
QByteArrayprepend (const QByteArray &ba)
 
QByteArrayprepend (QByteArrayView ba)
 
QByteArrayprepend (qsizetype count, char ch)
 
void push_back (char ch)
 
void push_back (const char *str)
 
void push_back (const QByteArray &other)
 
void push_back (QByteArrayView str)
 
void push_front (char ch)
 
void push_front (const char *str)
 
void push_front (const QByteArray &other)
 
void push_front (QByteArrayView str)
 
 QByteArrayLiteral (ba)
 
quint16 qChecksum (QByteArrayView data, Qt::ChecksumType standard)
 
QByteArray qCompress (const QByteArray &data, int compressionLevel)
 
QByteArray qCompress (const uchar *data, qsizetype nbytes, int compressionLevel)
 
int qsnprintf (char *str, size_t n, const char *fmt,...)
 
int qstrcmp (const char *str1, const char *str2)
 
char * qstrcpy (char *dst, const char *src)
 
char * qstrdup (const char *src)
 
int qstricmp (const char *str1, const char *str2)
 
size_t qstrlen (const char *str)
 
int qstrncmp (const char *str1, const char *str2, size_t len)
 
char * qstrncpy (char *dst, const char *src, size_t len)
 
int qstrnicmp (const char *str1, const char *str2, size_t len)
 
size_t qstrnlen (const char *str, size_t maxlen)
 
 QT_NO_CAST_FROM_BYTEARRAY QT_NO_CAST_FROM_BYTEARRAY
 
QByteArray qUncompress (const QByteArray &data)
 
QByteArray qUncompress (const uchar *data, qsizetype nbytes)
 
int qvsnprintf (char *str, size_t n, const char *fmt, va_list ap)
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const const
 
QByteArrayremove (qsizetype pos, qsizetype len)
 
QByteArrayremoveAt (qsizetype pos)
 
QByteArrayremoveFirst ()
 
QByteArrayremoveIf (Predicate pred)
 
QByteArrayremoveLast ()
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const const
 
QByteArray repeated (qsizetype times) const const
 
QByteArrayreplace (char before, char after)
 
QByteArrayreplace (char before, QByteArrayView after)
 
QByteArrayreplace (const char *before, qsizetype bsize, const char *after, qsizetype asize)
 
QByteArrayreplace (QByteArrayView before, QByteArrayView after)
 
QByteArrayreplace (qsizetype pos, qsizetype len, const char *after, qsizetype alen)
 
QByteArrayreplace (qsizetype pos, qsizetype len, QByteArrayView after)
 
void reserve (qsizetype size)
 
void resize (qsizetype newSize, char c)
 
void resize (qsizetype size)
 
QByteArray right (qsizetype len) const const
 
QByteArray rightJustified (qsizetype width, char fill, bool truncate) const const
 
QByteArraysetNum (double n, char format, int precision)
 
QByteArraysetNum (float n, char format, int precision)
 
QByteArraysetNum (int n, int base)
 
QByteArraysetNum (long n, int base)
 
QByteArraysetNum (qlonglong n, int base)
 
QByteArraysetNum (qulonglong n, int base)
 
QByteArraysetNum (short n, int base)
 
QByteArraysetNum (uint n, int base)
 
QByteArraysetNum (ulong n, int base)
 
QByteArraysetNum (ushort n, int base)
 
QByteArraysetRawData (const char *data, qsizetype size)
 
void shrink_to_fit ()
 
QByteArray simplified () const const
 
qsizetype size () const const
 
QByteArray sliced (qsizetype pos) const const
 
QByteArray sliced (qsizetype pos, qsizetype n) const const
 
QList< QByteArraysplit (char sep) const const
 
void squeeze ()
 
bool startsWith (char ch) const const
 
bool startsWith (QByteArrayView bv) const const
 
void swap (QByteArray &other)
 
QByteArray toBase64 (Base64Options options) const const
 
CFDataRef toCFData () const const
 
double toDouble (bool *ok) const const
 
emscripten::val toEcmaUint8Array ()
 
float toFloat (bool *ok) const const
 
QByteArray toHex (char separator) const const
 
int toInt (bool *ok, int base) const const
 
long toLong (bool *ok, int base) const const
 
qlonglong toLongLong (bool *ok, int base) const const
 
QByteArray toLower () const const
 
NSData * toNSData () const const
 
QByteArray toPercentEncoding (const QByteArray &exclude, const QByteArray &include, char percent) const const
 
CFDataRef toRawCFData () const const
 
NSData * toRawNSData () const const
 
short toShort (bool *ok, int base) const const
 
std::string toStdString () const const
 
uint toUInt (bool *ok, int base) const const
 
ulong toULong (bool *ok, int base) const const
 
qulonglong toULongLong (bool *ok, int base) const const
 
QByteArray toUpper () const const
 
ushort toUShort (bool *ok, int base) const const
 
QByteArray trimmed () const const
 
void truncate (qsizetype pos)
 
- Static Protected Member Functions inherited from QByteArray
QByteArray fromBase64 (const QByteArray &base64, Base64Options options)
 
FromBase64Result fromBase64Encoding (const QByteArray &base64, Base64Options options)
 
FromBase64Result fromBase64Encoding (QByteArray &&base64, Base64Options options)
 
QByteArray fromCFData (CFDataRef data)
 
QByteArray fromEcmaUint8Array (emscripten::val uint8array)
 
QByteArray fromHex (const QByteArray &hexEncoded)
 
QByteArray fromNSData (const NSData *data)
 
QByteArray fromPercentEncoding (const QByteArray &input, char percent)
 
QByteArray fromRawCFData (CFDataRef data)
 
QByteArray fromRawData (const char *data, qsizetype size)
 
QByteArray fromRawNSData (const NSData *data)
 
QByteArray fromStdString (const std::string &str)
 
QByteArray number (double n, char format, int precision)
 
QByteArray number (int n, int base)
 
QByteArray number (long n, int base)
 
QByteArray number (qlonglong n, int base)
 
QByteArray number (qulonglong n, int base)
 
QByteArray number (uint n, int base)
 
QByteArray number (ulong n, int base)
 
- Protected Attributes inherited from QByteArray
 AbortOnBase64DecodingErrors
 
 Base64Encoding
 
 Base64UrlEncoding
 
 IgnoreBase64DecodingErrors
 
 KeepTrailingEquals
 
 OmitTrailingEquals
 

Detailed Description

Specialized string for escaping.

In addition to byte array, contains "validity" flag that is transferred when strings are concatenated or in general when any operation with invalid escaped string is performed.

Definition at line 33 of file KDbEscapedString.h.

Member Typedef Documentation

◆ DataPtr

QByteArray::DataPtr KDbEscapedString::DataPtr

Definition at line 477 of file KDbEscapedString.h.

Constructor & Destructor Documentation

◆ KDbEscapedString() [1/7]

KDbEscapedString::KDbEscapedString ( )
inline

Definition at line 36 of file KDbEscapedString.h.

◆ KDbEscapedString() [2/7]

KDbEscapedString::KDbEscapedString ( char ch)
inlineexplicit

Definition at line 38 of file KDbEscapedString.h.

◆ KDbEscapedString() [3/7]

KDbEscapedString::KDbEscapedString ( QChar ch)
inlineexplicit

Definition at line 41 of file KDbEscapedString.h.

◆ KDbEscapedString() [4/7]

KDbEscapedString::KDbEscapedString ( const char * string)
inlineexplicit

Definition at line 44 of file KDbEscapedString.h.

◆ KDbEscapedString() [5/7]

KDbEscapedString::KDbEscapedString ( const QByteArray & string)
inlineexplicit

Definition at line 47 of file KDbEscapedString.h.

◆ KDbEscapedString() [6/7]

KDbEscapedString::KDbEscapedString ( const QString & string)
inlineexplicit

Definition at line 50 of file KDbEscapedString.h.

◆ KDbEscapedString() [7/7]

KDbEscapedString::KDbEscapedString ( const KDbEscapedString & string)
inline

Definition at line 53 of file KDbEscapedString.h.

◆ ~KDbEscapedString()

KDbEscapedString::~KDbEscapedString ( )
inline

Definition at line 56 of file KDbEscapedString.h.

Member Function Documentation

◆ append() [1/6]

KDbEscapedString & KDbEscapedString::append ( char c)
inline

Definition at line 221 of file KDbEscapedString.h.

◆ append() [2/6]

KDbEscapedString & KDbEscapedString::append ( const char * s)
inline

Definition at line 226 of file KDbEscapedString.h.

◆ append() [3/6]

KDbEscapedString & KDbEscapedString::append ( const char * s,
int len )
inline

Definition at line 231 of file KDbEscapedString.h.

◆ append() [4/6]

KDbEscapedString & KDbEscapedString::append ( const KDbEscapedString & s)

Definition at line 38 of file KDbEscapedString.cpp.

◆ append() [5/6]

KDbEscapedString & KDbEscapedString::append ( const QByteArray & a)
inline

Definition at line 236 of file KDbEscapedString.h.

◆ append() [6/6]

KDbEscapedString & KDbEscapedString::append ( const QString & a)
inline

Definition at line 241 of file KDbEscapedString.h.

◆ arg() [1/22]

KDbEscapedString KDbEscapedString::arg ( char a,
int fieldWidth = 0,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 390 of file KDbEscapedString.cpp.

◆ arg() [2/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a,
int fieldWidth = 0,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 306 of file KDbEscapedString.cpp.

◆ arg() [3/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2 ) const

Definition at line 232 of file KDbEscapedString.cpp.

◆ arg() [4/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3 ) const

Definition at line 239 of file KDbEscapedString.cpp.

◆ arg() [5/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4 ) const

Definition at line 246 of file KDbEscapedString.cpp.

◆ arg() [6/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4,
const KDbEscapedString & a5 ) const

Definition at line 254 of file KDbEscapedString.cpp.

◆ arg() [7/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4,
const KDbEscapedString & a5,
const KDbEscapedString & a6 ) const

Definition at line 263 of file KDbEscapedString.cpp.

◆ arg() [8/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4,
const KDbEscapedString & a5,
const KDbEscapedString & a6,
const KDbEscapedString & a7 ) const

Definition at line 273 of file KDbEscapedString.cpp.

◆ arg() [9/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4,
const KDbEscapedString & a5,
const KDbEscapedString & a6,
const KDbEscapedString & a7,
const KDbEscapedString & a8 ) const

Definition at line 284 of file KDbEscapedString.cpp.

◆ arg() [10/22]

KDbEscapedString KDbEscapedString::arg ( const KDbEscapedString & a1,
const KDbEscapedString & a2,
const KDbEscapedString & a3,
const KDbEscapedString & a4,
const KDbEscapedString & a5,
const KDbEscapedString & a6,
const KDbEscapedString & a7,
const KDbEscapedString & a8,
const KDbEscapedString & a9 ) const

Definition at line 295 of file KDbEscapedString.cpp.

◆ arg() [11/22]

KDbEscapedString KDbEscapedString::arg ( const QByteArray & a,
int fieldWidth = 0,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 320 of file KDbEscapedString.cpp.

◆ arg() [12/22]

KDbEscapedString KDbEscapedString::arg ( const QString & a,
int fieldWidth = 0,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 313 of file KDbEscapedString.cpp.

◆ arg() [13/22]

KDbEscapedString KDbEscapedString::arg ( double a,
int fieldWidth = 0,
char format = 'g',
int precision = -1,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 397 of file KDbEscapedString.cpp.

◆ arg() [14/22]

KDbEscapedString KDbEscapedString::arg ( int a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 327 of file KDbEscapedString.cpp.

◆ arg() [15/22]

KDbEscapedString KDbEscapedString::arg ( long a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 341 of file KDbEscapedString.cpp.

◆ arg() [16/22]

KDbEscapedString KDbEscapedString::arg ( QChar a,
int fieldWidth = 0,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 383 of file KDbEscapedString.cpp.

◆ arg() [17/22]

KDbEscapedString KDbEscapedString::arg ( qlonglong a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 355 of file KDbEscapedString.cpp.

◆ arg() [18/22]

KDbEscapedString KDbEscapedString::arg ( qulonglong a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 362 of file KDbEscapedString.cpp.

◆ arg() [19/22]

KDbEscapedString KDbEscapedString::arg ( short a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 369 of file KDbEscapedString.cpp.

◆ arg() [20/22]

KDbEscapedString KDbEscapedString::arg ( uint a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 334 of file KDbEscapedString.cpp.

◆ arg() [21/22]

KDbEscapedString KDbEscapedString::arg ( ulong a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 348 of file KDbEscapedString.cpp.

◆ arg() [22/22]

KDbEscapedString KDbEscapedString::arg ( ushort a,
int fieldWidth = 0,
int base = 10,
const QChar & fillChar = QLatin1Char( ' ' ) ) const

Definition at line 376 of file KDbEscapedString.cpp.

◆ at()

char KDbEscapedString::at ( int i) const
inline

Definition at line 117 of file KDbEscapedString.h.

◆ capacity()

int KDbEscapedString::capacity ( ) const
inline

Definition at line 103 of file KDbEscapedString.h.

◆ chop()

void KDbEscapedString::chop ( int n)
inline

Definition at line 181 of file KDbEscapedString.h.

◆ clear()

void KDbEscapedString::clear ( )
inline

Definition at line 110 of file KDbEscapedString.h.

◆ constData()

const char * KDbEscapedString::constData ( ) const
inline

Definition at line 109 of file KDbEscapedString.h.

◆ count() [1/5]

int KDbEscapedString::count ( ) const
inline

Definition at line 441 of file KDbEscapedString.h.

◆ count() [2/5]

int KDbEscapedString::count ( char c) const
inline

Definition at line 137 of file KDbEscapedString.h.

◆ count() [3/5]

int KDbEscapedString::count ( const char * a) const
inline

Definition at line 138 of file KDbEscapedString.h.

◆ count() [4/5]

int KDbEscapedString::count ( const KDbEscapedString & s) const
inline

Definition at line 140 of file KDbEscapedString.h.

◆ count() [5/5]

int KDbEscapedString::count ( const QByteArray & a) const
inline

Definition at line 139 of file KDbEscapedString.h.

◆ data() [1/2]

char * KDbEscapedString::data ( )
inline

Definition at line 107 of file KDbEscapedString.h.

◆ data() [2/2]

const char * KDbEscapedString::data ( ) const
inline

Definition at line 108 of file KDbEscapedString.h.

◆ data_ptr()

DataPtr & KDbEscapedString::data_ptr ( )
inline

Definition at line 478 of file KDbEscapedString.h.

◆ endsWith() [1/4]

bool KDbEscapedString::endsWith ( char c) const
inline

Definition at line 173 of file KDbEscapedString.h.

◆ endsWith() [2/4]

bool KDbEscapedString::endsWith ( const char * c) const
inline

Definition at line 176 of file KDbEscapedString.h.

◆ endsWith() [3/4]

bool KDbEscapedString::endsWith ( const KDbEscapedString & s) const
inline

Definition at line 167 of file KDbEscapedString.h.

◆ endsWith() [4/4]

bool KDbEscapedString::endsWith ( const QByteArray & a) const
inline

Definition at line 170 of file KDbEscapedString.h.

◆ fill()

KDbEscapedString & KDbEscapedString::fill ( char c,
int size = -1 )
inline

Definition at line 97 of file KDbEscapedString.h.

◆ fromBase64() [1/2]

static KDbEscapedString KDbEscapedString::fromBase64 ( const KDbEscapedString & base64)
inlinestatic

Definition at line 423 of file KDbEscapedString.h.

◆ fromBase64() [2/2]

static KDbEscapedString KDbEscapedString::fromBase64 ( const QByteArray & base64)
inlinestatic

Definition at line 420 of file KDbEscapedString.h.

◆ fromHex() [1/2]

static KDbEscapedString KDbEscapedString::fromHex ( const KDbEscapedString & hexEncoded)
inlinestatic

Definition at line 429 of file KDbEscapedString.h.

◆ fromHex() [2/2]

static KDbEscapedString KDbEscapedString::fromHex ( const QByteArray & hexEncoded)
inlinestatic

Definition at line 426 of file KDbEscapedString.h.

◆ fromPercentEncoding() [1/2]

static KDbEscapedString KDbEscapedString::fromPercentEncoding ( const KDbEscapedString & pctEncoded,
char percent = '%' )
inlinestatic

Definition at line 436 of file KDbEscapedString.h.

◆ fromPercentEncoding() [2/2]

static KDbEscapedString KDbEscapedString::fromPercentEncoding ( const QByteArray & pctEncoded,
char percent = '%' )
inlinestatic

Definition at line 433 of file KDbEscapedString.h.

◆ fromRawData()

static KDbEscapedString KDbEscapedString::fromRawData ( const char * s,
int size )
inlinestatic

Definition at line 417 of file KDbEscapedString.h.

◆ indexOf() [1/4]

int KDbEscapedString::indexOf ( char c,
int from = 0 ) const
inline

Definition at line 124 of file KDbEscapedString.h.

◆ indexOf() [2/4]

int KDbEscapedString::indexOf ( const char * c,
int from = 0 ) const
inline

Definition at line 125 of file KDbEscapedString.h.

◆ indexOf() [3/4]

int KDbEscapedString::indexOf ( const KDbEscapedString & s,
int from = 0 ) const
inline

Definition at line 127 of file KDbEscapedString.h.

◆ indexOf() [4/4]

int KDbEscapedString::indexOf ( const QByteArray & a,
int from = 0 ) const
inline

Definition at line 126 of file KDbEscapedString.h.

◆ insert() [1/4]

KDbEscapedString & KDbEscapedString::insert ( int i,
char c )
inline

Definition at line 247 of file KDbEscapedString.h.

◆ insert() [2/4]

KDbEscapedString & KDbEscapedString::insert ( int i,
const char * s )
inline

Definition at line 252 of file KDbEscapedString.h.

◆ insert() [3/4]

KDbEscapedString & KDbEscapedString::insert ( int i,
const KDbEscapedString & s )

Definition at line 51 of file KDbEscapedString.cpp.

◆ insert() [4/4]

KDbEscapedString & KDbEscapedString::insert ( int i,
const QByteArray & a )
inline

Definition at line 257 of file KDbEscapedString.h.

◆ invalid()

static KDbEscapedString KDbEscapedString::invalid ( )
inlinestatic
Returns
invalid escaped string.

Definition at line 59 of file KDbEscapedString.h.

◆ isEmpty()

bool KDbEscapedString::isEmpty ( ) const
inline

Definition at line 94 of file KDbEscapedString.h.

◆ isNull()

bool KDbEscapedString::isNull ( ) const
inline

Definition at line 443 of file KDbEscapedString.h.

◆ isValid()

bool KDbEscapedString::isValid ( ) const
inline
Returns
true if the string is valid. Valid string means that the escaping process has finished successfully. It does not mean that the statement itself parses or can be executed without errors.

Definition at line 64 of file KDbEscapedString.h.

◆ lastIndexOf() [1/4]

int KDbEscapedString::lastIndexOf ( char c,
int from = -1 ) const
inline

Definition at line 130 of file KDbEscapedString.h.

◆ lastIndexOf() [2/4]

int KDbEscapedString::lastIndexOf ( const char * c,
int from = -1 ) const
inline

Definition at line 131 of file KDbEscapedString.h.

◆ lastIndexOf() [3/4]

int KDbEscapedString::lastIndexOf ( const KDbEscapedString & s,
int from = 0 ) const
inline

Definition at line 133 of file KDbEscapedString.h.

◆ lastIndexOf() [4/4]

int KDbEscapedString::lastIndexOf ( const QByteArray & a,
int from = -1 ) const
inline

Definition at line 132 of file KDbEscapedString.h.

◆ left()

KDbEscapedString KDbEscapedString::left ( int len) const
inline

Definition at line 144 of file KDbEscapedString.h.

◆ leftJustified()

KDbEscapedString KDbEscapedString::leftJustified ( int width,
char fill = ' ',
bool truncate = false ) const
inline

Definition at line 196 of file KDbEscapedString.h.

◆ length()

int KDbEscapedString::length ( ) const
inline

Definition at line 442 of file KDbEscapedString.h.

◆ mid()

KDbEscapedString KDbEscapedString::mid ( int index,
int len = -1 ) const
inline

Definition at line 150 of file KDbEscapedString.h.

◆ number() [1/5]

static KDbEscapedString KDbEscapedString::number ( double val,
char f = 'g',
int prec = 6 )
inlinestatic

Definition at line 414 of file KDbEscapedString.h.

◆ number() [2/5]

static KDbEscapedString KDbEscapedString::number ( int val,
int base = 10 )
inlinestatic

Definition at line 402 of file KDbEscapedString.h.

◆ number() [3/5]

static KDbEscapedString KDbEscapedString::number ( qlonglong val,
int base = 10 )
inlinestatic

Definition at line 408 of file KDbEscapedString.h.

◆ number() [4/5]

static KDbEscapedString KDbEscapedString::number ( qulonglong val,
int base = 10 )
inlinestatic

Definition at line 411 of file KDbEscapedString.h.

◆ number() [5/5]

static KDbEscapedString KDbEscapedString::number ( uint val,
int base = 10 )
inlinestatic

Definition at line 405 of file KDbEscapedString.h.

◆ operator+=() [1/5]

KDbEscapedString & KDbEscapedString::operator+= ( char c)
inline

Definition at line 323 of file KDbEscapedString.h.

◆ operator+=() [2/5]

KDbEscapedString & KDbEscapedString::operator+= ( const char * s)
inline

Definition at line 324 of file KDbEscapedString.h.

◆ operator+=() [3/5]

KDbEscapedString & KDbEscapedString::operator+= ( const KDbEscapedString & s)
inline

Definition at line 327 of file KDbEscapedString.h.

◆ operator+=() [4/5]

KDbEscapedString & KDbEscapedString::operator+= ( const QByteArray & a)
inline

Definition at line 325 of file KDbEscapedString.h.

◆ operator+=() [5/5]

KDbEscapedString & KDbEscapedString::operator+= ( const QString & a)
inline

Definition at line 326 of file KDbEscapedString.h.

◆ operator=() [1/3]

KDbEscapedString & KDbEscapedString::operator= ( const char * string)
inline

Definition at line 82 of file KDbEscapedString.h.

◆ operator=() [2/3]

KDbEscapedString & KDbEscapedString::operator= ( const KDbEscapedString & string)
inline

Definition at line 72 of file KDbEscapedString.h.

◆ operator=() [3/3]

KDbEscapedString & KDbEscapedString::operator= ( const QByteArray & string)
inline

Definition at line 77 of file KDbEscapedString.h.

◆ operator==()

bool KDbEscapedString::operator== ( const KDbEscapedString & other) const
inline

Definition at line 88 of file KDbEscapedString.h.

◆ operator[]() [1/4]

QByteRef KDbEscapedString::operator[] ( int i)
inline

Definition at line 121 of file KDbEscapedString.h.

◆ operator[]() [2/4]

char KDbEscapedString::operator[] ( int i) const
inline

Definition at line 118 of file KDbEscapedString.h.

◆ operator[]() [3/4]

QByteRef KDbEscapedString::operator[] ( uint i)
inline

Definition at line 122 of file KDbEscapedString.h.

◆ operator[]() [4/4]

char KDbEscapedString::operator[] ( uint i) const
inline

Definition at line 119 of file KDbEscapedString.h.

◆ prepend() [1/4]

KDbEscapedString & KDbEscapedString::prepend ( char c)
inline

Definition at line 205 of file KDbEscapedString.h.

◆ prepend() [2/4]

KDbEscapedString & KDbEscapedString::prepend ( const char * s)
inline

Definition at line 210 of file KDbEscapedString.h.

◆ prepend() [3/4]

KDbEscapedString & KDbEscapedString::prepend ( const KDbEscapedString & s)

Definition at line 25 of file KDbEscapedString.cpp.

◆ prepend() [4/4]

KDbEscapedString & KDbEscapedString::prepend ( const QByteArray & a)
inline

Definition at line 215 of file KDbEscapedString.h.

◆ remove()

KDbEscapedString & KDbEscapedString::remove ( int index,
int len )
inline

Definition at line 263 of file KDbEscapedString.h.

◆ repeated()

KDbEscapedString KDbEscapedString::repeated ( int times) const
inline

Definition at line 333 of file KDbEscapedString.h.

◆ replace() [1/15]

KDbEscapedString & KDbEscapedString::replace ( char before,
char after )
inline

Definition at line 318 of file KDbEscapedString.h.

◆ replace() [2/15]

KDbEscapedString & KDbEscapedString::replace ( char before,
const char * after )
inline

Definition at line 279 of file KDbEscapedString.h.

◆ replace() [3/15]

KDbEscapedString & KDbEscapedString::replace ( char before,
const KDbEscapedString & after )

Definition at line 77 of file KDbEscapedString.cpp.

◆ replace() [4/15]

KDbEscapedString & KDbEscapedString::replace ( char before,
const QByteArray & after )
inline

Definition at line 284 of file KDbEscapedString.h.

◆ replace() [5/15]

KDbEscapedString & KDbEscapedString::replace ( const char * before,
const char * after )
inline

Definition at line 290 of file KDbEscapedString.h.

◆ replace() [6/15]

KDbEscapedString & KDbEscapedString::replace ( const char * before,
const QByteArray & after )
inline

Definition at line 313 of file KDbEscapedString.h.

◆ replace() [7/15]

KDbEscapedString & KDbEscapedString::replace ( const char * before,
int bsize,
const char * after,
int asize )
inline

Definition at line 295 of file KDbEscapedString.h.

◆ replace() [8/15]

KDbEscapedString & KDbEscapedString::replace ( const KDbEscapedString & before,
const KDbEscapedString & after )

Definition at line 116 of file KDbEscapedString.cpp.

◆ replace() [9/15]

KDbEscapedString & KDbEscapedString::replace ( const KDbEscapedString & before,
const QByteArray & after )

Definition at line 90 of file KDbEscapedString.cpp.

◆ replace() [10/15]

KDbEscapedString & KDbEscapedString::replace ( const QByteArray & before,
const char * after )
inline

Definition at line 308 of file KDbEscapedString.h.

◆ replace() [11/15]

KDbEscapedString & KDbEscapedString::replace ( const QByteArray & before,
const KDbEscapedString & after )

Definition at line 103 of file KDbEscapedString.cpp.

◆ replace() [12/15]

KDbEscapedString & KDbEscapedString::replace ( const QByteArray & before,
const QByteArray & after )
inline

Definition at line 300 of file KDbEscapedString.h.

◆ replace() [13/15]

KDbEscapedString & KDbEscapedString::replace ( int index,
int len,
const char * s )
inline

Definition at line 268 of file KDbEscapedString.h.

◆ replace() [14/15]

KDbEscapedString & KDbEscapedString::replace ( int index,
int len,
const KDbEscapedString & s )

Definition at line 64 of file KDbEscapedString.cpp.

◆ replace() [15/15]

KDbEscapedString & KDbEscapedString::replace ( int index,
int len,
const QByteArray & s )
inline

Definition at line 273 of file KDbEscapedString.h.

◆ reserve()

void KDbEscapedString::reserve ( int size)
inline

Definition at line 104 of file KDbEscapedString.h.

◆ resize()

void KDbEscapedString::resize ( int size)
inline

Definition at line 95 of file KDbEscapedString.h.

◆ right()

KDbEscapedString KDbEscapedString::right ( int len) const
inline

Definition at line 147 of file KDbEscapedString.h.

◆ rightJustified()

KDbEscapedString KDbEscapedString::rightJustified ( int width,
char fill = ' ',
bool truncate = false ) const
inline

Definition at line 200 of file KDbEscapedString.h.

◆ setNum() [1/8]

KDbEscapedString & KDbEscapedString::setNum ( double val,
char f = 'g',
int prec = 6 )
inline

Definition at line 396 of file KDbEscapedString.h.

◆ setNum() [2/8]

KDbEscapedString & KDbEscapedString::setNum ( float val,
char f = 'g',
int prec = 6 )
inline

Definition at line 391 of file KDbEscapedString.h.

◆ setNum() [3/8]

KDbEscapedString & KDbEscapedString::setNum ( int val,
int base = 10 )
inline

Definition at line 371 of file KDbEscapedString.h.

◆ setNum() [4/8]

KDbEscapedString & KDbEscapedString::setNum ( qlonglong val,
int base = 10 )
inline

Definition at line 381 of file KDbEscapedString.h.

◆ setNum() [5/8]

KDbEscapedString & KDbEscapedString::setNum ( qulonglong val,
int base = 10 )
inline

Definition at line 386 of file KDbEscapedString.h.

◆ setNum() [6/8]

KDbEscapedString & KDbEscapedString::setNum ( short val,
int base = 10 )
inline

Definition at line 361 of file KDbEscapedString.h.

◆ setNum() [7/8]

KDbEscapedString & KDbEscapedString::setNum ( uint val,
int base = 10 )
inline

Definition at line 376 of file KDbEscapedString.h.

◆ setNum() [8/8]

KDbEscapedString & KDbEscapedString::setNum ( ushort val,
int base = 10 )
inline

Definition at line 366 of file KDbEscapedString.h.

◆ simplified()

KDbEscapedString KDbEscapedString::simplified ( ) const
inline

Definition at line 193 of file KDbEscapedString.h.

◆ size()

int KDbEscapedString::size ( ) const
inline

Definition at line 93 of file KDbEscapedString.h.

◆ split()

QList< KDbEscapedString > KDbEscapedString::split ( char sep) const

Definition at line 129 of file KDbEscapedString.cpp.

◆ squeeze()

void KDbEscapedString::squeeze ( )
inline

Definition at line 105 of file KDbEscapedString.h.

◆ startsWith() [1/4]

bool KDbEscapedString::startsWith ( char c) const
inline

Definition at line 160 of file KDbEscapedString.h.

◆ startsWith() [2/4]

bool KDbEscapedString::startsWith ( const char * c) const
inline

Definition at line 163 of file KDbEscapedString.h.

◆ startsWith() [3/4]

bool KDbEscapedString::startsWith ( const KDbEscapedString & s) const
inline

Definition at line 154 of file KDbEscapedString.h.

◆ startsWith() [4/4]

bool KDbEscapedString::startsWith ( const QByteArray & a) const
inline

Definition at line 157 of file KDbEscapedString.h.

◆ toBase64()

KDbEscapedString KDbEscapedString::toBase64 ( ) const
inline

Definition at line 346 of file KDbEscapedString.h.

◆ toByteArray()

QByteArray KDbEscapedString::toByteArray ( ) const
inline

Definition at line 66 of file KDbEscapedString.h.

◆ toDouble()

double KDbEscapedString::toDouble ( bool * ok = nullptr) const

Definition at line 225 of file KDbEscapedString.cpp.

◆ toFloat()

float KDbEscapedString::toFloat ( bool * ok = nullptr) const

Definition at line 218 of file KDbEscapedString.cpp.

◆ toHex()

KDbEscapedString KDbEscapedString::toHex ( ) const
inline

Definition at line 349 of file KDbEscapedString.h.

◆ toInt()

int KDbEscapedString::toInt ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 176 of file KDbEscapedString.cpp.

◆ toLong()

long KDbEscapedString::toLong ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 190 of file KDbEscapedString.cpp.

◆ toLongLong()

qlonglong KDbEscapedString::toLongLong ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 204 of file KDbEscapedString.cpp.

◆ toLower()

KDbEscapedString KDbEscapedString::toLower ( ) const
inline

Definition at line 183 of file KDbEscapedString.h.

◆ toPercentEncoding()

KDbEscapedString KDbEscapedString::toPercentEncoding ( const QByteArray & exclude = QByteArray(),
const QByteArray & include = QByteArray(),
char percent = '%' ) const
inline

Definition at line 352 of file KDbEscapedString.h.

◆ toShort()

short KDbEscapedString::toShort ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 162 of file KDbEscapedString.cpp.

◆ toString()

QString KDbEscapedString::toString ( ) const
inline

Definition at line 68 of file KDbEscapedString.h.

◆ toUInt()

uint KDbEscapedString::toUInt ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 183 of file KDbEscapedString.cpp.

◆ toULong()

ulong KDbEscapedString::toULong ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 197 of file KDbEscapedString.cpp.

◆ toULongLong()

qulonglong KDbEscapedString::toULongLong ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 211 of file KDbEscapedString.cpp.

◆ toUpper()

KDbEscapedString KDbEscapedString::toUpper ( ) const
inline

Definition at line 186 of file KDbEscapedString.h.

◆ toUShort()

ushort KDbEscapedString::toUShort ( bool * ok = nullptr,
int base = 10 ) const

Definition at line 169 of file KDbEscapedString.cpp.

◆ trimmed()

KDbEscapedString KDbEscapedString::trimmed ( ) const
inline

Definition at line 190 of file KDbEscapedString.h.

◆ truncate()

void KDbEscapedString::truncate ( int pos)
inline

Definition at line 180 of file KDbEscapedString.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.