KDbEscapedString
#include <KDbEscapedString.h>
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) | |
KDbEscapedString & | append (char c) |
KDbEscapedString & | append (const char *s) |
KDbEscapedString & | append (const char *s, int len) |
KDbEscapedString & | append (const KDbEscapedString &s) |
KDbEscapedString & | append (const QByteArray &a) |
KDbEscapedString & | append (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 |
KDbEscapedString & | fill (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 |
KDbEscapedString & | insert (int i, char c) |
KDbEscapedString & | insert (int i, const char *s) |
KDbEscapedString & | insert (int i, const KDbEscapedString &s) |
KDbEscapedString & | insert (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 |
KDbEscapedString & | operator+= (char c) |
KDbEscapedString & | operator+= (const char *s) |
KDbEscapedString & | operator+= (const KDbEscapedString &s) |
KDbEscapedString & | operator+= (const QByteArray &a) |
KDbEscapedString & | operator+= (const QString &a) |
KDbEscapedString & | operator= (const char *string) |
KDbEscapedString & | operator= (const KDbEscapedString &string) |
KDbEscapedString & | operator= (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 |
KDbEscapedString & | prepend (char c) |
KDbEscapedString & | prepend (const char *s) |
KDbEscapedString & | prepend (const KDbEscapedString &s) |
KDbEscapedString & | prepend (const QByteArray &a) |
KDbEscapedString & | remove (int index, int len) |
KDbEscapedString | repeated (int times) const |
KDbEscapedString & | replace (char before, char after) |
KDbEscapedString & | replace (char before, const char *after) |
KDbEscapedString & | replace (char before, const KDbEscapedString &after) |
KDbEscapedString & | replace (char before, const QByteArray &after) |
KDbEscapedString & | replace (const char *before, const char *after) |
KDbEscapedString & | replace (const char *before, const QByteArray &after) |
KDbEscapedString & | replace (const char *before, int bsize, const char *after, int asize) |
KDbEscapedString & | replace (const KDbEscapedString &before, const KDbEscapedString &after) |
KDbEscapedString & | replace (const KDbEscapedString &before, const QByteArray &after) |
KDbEscapedString & | replace (const QByteArray &before, const char *after) |
KDbEscapedString & | replace (const QByteArray &before, const KDbEscapedString &after) |
KDbEscapedString & | replace (const QByteArray &before, const QByteArray &after) |
KDbEscapedString & | replace (int index, int len, const char *s) |
KDbEscapedString & | replace (int index, int len, const KDbEscapedString &s) |
KDbEscapedString & | replace (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 |
KDbEscapedString & | setNum (double val, char f='g', int prec=6) |
KDbEscapedString & | setNum (float val, char f='g', int prec=6) |
KDbEscapedString & | setNum (int val, int base=10) |
KDbEscapedString & | setNum (qlonglong val, int base=10) |
KDbEscapedString & | setNum (qulonglong val, int base=10) |
KDbEscapedString & | setNum (short val, int base=10) |
KDbEscapedString & | setNum (uint val, int base=10) |
KDbEscapedString & | setNum (ushort val, int base=10) |
KDbEscapedString | simplified () const |
int | size () const |
QList< KDbEscapedString > | split (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) | |
QByteArray & | append (char ch) |
QByteArray & | append (const char *str) |
QByteArray & | append (const char *str, qsizetype len) |
QByteArray & | append (const QByteArray &ba) |
QByteArray & | append (QByteArrayView data) |
QByteArray & | append (qsizetype count, char ch) |
QByteArray & | assign (InputIterator first, InputIterator last) |
QByteArray & | assign (QByteArrayView v) |
QByteArray & | assign (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) |
QByteArray & | fill (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 |
QByteArray & | insert (qsizetype i, char ch) |
QByteArray & | insert (qsizetype i, const char *data, qsizetype len) |
QByteArray & | insert (qsizetype i, const char *s) |
QByteArray & | insert (qsizetype i, const QByteArray &data) |
QByteArray & | insert (qsizetype i, QByteArrayView data) |
QByteArray & | insert (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) |
QByteArray & | operator+= (char ch) |
QByteArray & | operator+= (const char *str) |
QByteArray & | operator+= (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 |
QDataStream & | operator<< (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 |
QByteArray & | operator= (const char *str) |
QByteArray & | operator= (const QByteArray &other) |
QByteArray & | operator= (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 |
QDataStream & | operator>> (QDataStream &in, QByteArray &ba) |
char & | operator[] (qsizetype i) |
char | operator[] (qsizetype i) const const |
QByteArray | percentDecoded (char percent) const const |
QByteArray & | prepend (char ch) |
QByteArray & | prepend (const char *str) |
QByteArray & | prepend (const char *str, qsizetype len) |
QByteArray & | prepend (const QByteArray &ba) |
QByteArray & | prepend (QByteArrayView ba) |
QByteArray & | prepend (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 |
QByteArray & | remove (qsizetype pos, qsizetype len) |
QByteArray & | removeAt (qsizetype pos) |
QByteArray & | removeFirst () |
QByteArray & | removeIf (Predicate pred) |
QByteArray & | removeLast () |
reverse_iterator | rend () |
const_reverse_iterator | rend () const const |
QByteArray | repeated (qsizetype times) const const |
QByteArray & | replace (char before, char after) |
QByteArray & | replace (char before, QByteArrayView after) |
QByteArray & | replace (const char *before, qsizetype bsize, const char *after, qsizetype asize) |
QByteArray & | replace (QByteArrayView before, QByteArrayView after) |
QByteArray & | replace (qsizetype pos, qsizetype len, const char *after, qsizetype alen) |
QByteArray & | replace (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 |
QByteArray & | setNum (double n, char format, int precision) |
QByteArray & | setNum (float n, char format, int precision) |
QByteArray & | setNum (int n, int base) |
QByteArray & | setNum (long n, int base) |
QByteArray & | setNum (qlonglong n, int base) |
QByteArray & | setNum (qulonglong n, int base) |
QByteArray & | setNum (short n, int base) |
QByteArray & | setNum (uint n, int base) |
QByteArray & | setNum (ulong n, int base) |
QByteArray & | setNum (ushort n, int base) |
QByteArray & | setRawData (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< QByteArray > | split (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]
|
inline |
Definition at line 36 of file KDbEscapedString.h.
◆ KDbEscapedString() [2/7]
|
inlineexplicit |
Definition at line 38 of file KDbEscapedString.h.
◆ KDbEscapedString() [3/7]
|
inlineexplicit |
Definition at line 41 of file KDbEscapedString.h.
◆ KDbEscapedString() [4/7]
|
inlineexplicit |
Definition at line 44 of file KDbEscapedString.h.
◆ KDbEscapedString() [5/7]
|
inlineexplicit |
Definition at line 47 of file KDbEscapedString.h.
◆ KDbEscapedString() [6/7]
|
inlineexplicit |
Definition at line 50 of file KDbEscapedString.h.
◆ KDbEscapedString() [7/7]
|
inline |
Definition at line 53 of file KDbEscapedString.h.
◆ ~KDbEscapedString()
|
inline |
Definition at line 56 of file KDbEscapedString.h.
Member Function Documentation
◆ append() [1/6]
|
inline |
Definition at line 221 of file KDbEscapedString.h.
◆ append() [2/6]
|
inline |
Definition at line 226 of file KDbEscapedString.h.
◆ append() [3/6]
|
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]
|
inline |
Definition at line 236 of file KDbEscapedString.h.
◆ append() [6/6]
|
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()
|
inline |
Definition at line 117 of file KDbEscapedString.h.
◆ capacity()
|
inline |
Definition at line 103 of file KDbEscapedString.h.
◆ chop()
|
inline |
Definition at line 181 of file KDbEscapedString.h.
◆ clear()
|
inline |
Definition at line 110 of file KDbEscapedString.h.
◆ constData()
|
inline |
Definition at line 109 of file KDbEscapedString.h.
◆ count() [1/5]
|
inline |
Definition at line 441 of file KDbEscapedString.h.
◆ count() [2/5]
|
inline |
Definition at line 137 of file KDbEscapedString.h.
◆ count() [3/5]
|
inline |
Definition at line 138 of file KDbEscapedString.h.
◆ count() [4/5]
|
inline |
Definition at line 140 of file KDbEscapedString.h.
◆ count() [5/5]
|
inline |
Definition at line 139 of file KDbEscapedString.h.
◆ data() [1/2]
|
inline |
Definition at line 107 of file KDbEscapedString.h.
◆ data() [2/2]
|
inline |
Definition at line 108 of file KDbEscapedString.h.
◆ data_ptr()
|
inline |
Definition at line 478 of file KDbEscapedString.h.
◆ endsWith() [1/4]
|
inline |
Definition at line 173 of file KDbEscapedString.h.
◆ endsWith() [2/4]
|
inline |
Definition at line 176 of file KDbEscapedString.h.
◆ endsWith() [3/4]
|
inline |
Definition at line 167 of file KDbEscapedString.h.
◆ endsWith() [4/4]
|
inline |
Definition at line 170 of file KDbEscapedString.h.
◆ fill()
|
inline |
Definition at line 97 of file KDbEscapedString.h.
◆ fromBase64() [1/2]
|
inlinestatic |
Definition at line 423 of file KDbEscapedString.h.
◆ fromBase64() [2/2]
|
inlinestatic |
Definition at line 420 of file KDbEscapedString.h.
◆ fromHex() [1/2]
|
inlinestatic |
Definition at line 429 of file KDbEscapedString.h.
◆ fromHex() [2/2]
|
inlinestatic |
Definition at line 426 of file KDbEscapedString.h.
◆ fromPercentEncoding() [1/2]
|
inlinestatic |
Definition at line 436 of file KDbEscapedString.h.
◆ fromPercentEncoding() [2/2]
|
inlinestatic |
Definition at line 433 of file KDbEscapedString.h.
◆ fromRawData()
|
inlinestatic |
Definition at line 417 of file KDbEscapedString.h.
◆ indexOf() [1/4]
|
inline |
Definition at line 124 of file KDbEscapedString.h.
◆ indexOf() [2/4]
|
inline |
Definition at line 125 of file KDbEscapedString.h.
◆ indexOf() [3/4]
|
inline |
Definition at line 127 of file KDbEscapedString.h.
◆ indexOf() [4/4]
|
inline |
Definition at line 126 of file KDbEscapedString.h.
◆ insert() [1/4]
|
inline |
Definition at line 247 of file KDbEscapedString.h.
◆ insert() [2/4]
|
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]
|
inline |
Definition at line 257 of file KDbEscapedString.h.
◆ invalid()
|
inlinestatic |
- Returns
- invalid escaped string.
Definition at line 59 of file KDbEscapedString.h.
◆ isEmpty()
|
inline |
Definition at line 94 of file KDbEscapedString.h.
◆ isNull()
|
inline |
Definition at line 443 of file KDbEscapedString.h.
◆ isValid()
|
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]
|
inline |
Definition at line 130 of file KDbEscapedString.h.
◆ lastIndexOf() [2/4]
|
inline |
Definition at line 131 of file KDbEscapedString.h.
◆ lastIndexOf() [3/4]
|
inline |
Definition at line 133 of file KDbEscapedString.h.
◆ lastIndexOf() [4/4]
|
inline |
Definition at line 132 of file KDbEscapedString.h.
◆ left()
|
inline |
Definition at line 144 of file KDbEscapedString.h.
◆ leftJustified()
|
inline |
Definition at line 196 of file KDbEscapedString.h.
◆ length()
|
inline |
Definition at line 442 of file KDbEscapedString.h.
◆ mid()
|
inline |
Definition at line 150 of file KDbEscapedString.h.
◆ number() [1/5]
|
inlinestatic |
Definition at line 414 of file KDbEscapedString.h.
◆ number() [2/5]
|
inlinestatic |
Definition at line 402 of file KDbEscapedString.h.
◆ number() [3/5]
|
inlinestatic |
Definition at line 408 of file KDbEscapedString.h.
◆ number() [4/5]
|
inlinestatic |
Definition at line 411 of file KDbEscapedString.h.
◆ number() [5/5]
|
inlinestatic |
Definition at line 405 of file KDbEscapedString.h.
◆ operator+=() [1/5]
|
inline |
Definition at line 323 of file KDbEscapedString.h.
◆ operator+=() [2/5]
|
inline |
Definition at line 324 of file KDbEscapedString.h.
◆ operator+=() [3/5]
|
inline |
Definition at line 327 of file KDbEscapedString.h.
◆ operator+=() [4/5]
|
inline |
Definition at line 325 of file KDbEscapedString.h.
◆ operator+=() [5/5]
|
inline |
Definition at line 326 of file KDbEscapedString.h.
◆ operator=() [1/3]
|
inline |
Definition at line 82 of file KDbEscapedString.h.
◆ operator=() [2/3]
|
inline |
Definition at line 72 of file KDbEscapedString.h.
◆ operator=() [3/3]
|
inline |
Definition at line 77 of file KDbEscapedString.h.
◆ operator==()
|
inline |
Definition at line 88 of file KDbEscapedString.h.
◆ operator[]() [1/4]
|
inline |
Definition at line 121 of file KDbEscapedString.h.
◆ operator[]() [2/4]
|
inline |
Definition at line 118 of file KDbEscapedString.h.
◆ operator[]() [3/4]
|
inline |
Definition at line 122 of file KDbEscapedString.h.
◆ operator[]() [4/4]
|
inline |
Definition at line 119 of file KDbEscapedString.h.
◆ prepend() [1/4]
|
inline |
Definition at line 205 of file KDbEscapedString.h.
◆ prepend() [2/4]
|
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]
|
inline |
Definition at line 215 of file KDbEscapedString.h.
◆ remove()
|
inline |
Definition at line 263 of file KDbEscapedString.h.
◆ repeated()
|
inline |
Definition at line 333 of file KDbEscapedString.h.
◆ replace() [1/15]
|
inline |
Definition at line 318 of file KDbEscapedString.h.
◆ replace() [2/15]
|
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]
|
inline |
Definition at line 284 of file KDbEscapedString.h.
◆ replace() [5/15]
|
inline |
Definition at line 290 of file KDbEscapedString.h.
◆ replace() [6/15]
|
inline |
Definition at line 313 of file KDbEscapedString.h.
◆ replace() [7/15]
|
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]
|
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]
|
inline |
Definition at line 300 of file KDbEscapedString.h.
◆ replace() [13/15]
|
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]
|
inline |
Definition at line 273 of file KDbEscapedString.h.
◆ reserve()
|
inline |
Definition at line 104 of file KDbEscapedString.h.
◆ resize()
|
inline |
Definition at line 95 of file KDbEscapedString.h.
◆ right()
|
inline |
Definition at line 147 of file KDbEscapedString.h.
◆ rightJustified()
|
inline |
Definition at line 200 of file KDbEscapedString.h.
◆ setNum() [1/8]
|
inline |
Definition at line 396 of file KDbEscapedString.h.
◆ setNum() [2/8]
|
inline |
Definition at line 391 of file KDbEscapedString.h.
◆ setNum() [3/8]
|
inline |
Definition at line 371 of file KDbEscapedString.h.
◆ setNum() [4/8]
|
inline |
Definition at line 381 of file KDbEscapedString.h.
◆ setNum() [5/8]
|
inline |
Definition at line 386 of file KDbEscapedString.h.
◆ setNum() [6/8]
|
inline |
Definition at line 361 of file KDbEscapedString.h.
◆ setNum() [7/8]
|
inline |
Definition at line 376 of file KDbEscapedString.h.
◆ setNum() [8/8]
|
inline |
Definition at line 366 of file KDbEscapedString.h.
◆ simplified()
|
inline |
Definition at line 193 of file KDbEscapedString.h.
◆ size()
|
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()
|
inline |
Definition at line 105 of file KDbEscapedString.h.
◆ startsWith() [1/4]
|
inline |
Definition at line 160 of file KDbEscapedString.h.
◆ startsWith() [2/4]
|
inline |
Definition at line 163 of file KDbEscapedString.h.
◆ startsWith() [3/4]
|
inline |
Definition at line 154 of file KDbEscapedString.h.
◆ startsWith() [4/4]
|
inline |
Definition at line 157 of file KDbEscapedString.h.
◆ toBase64()
|
inline |
Definition at line 346 of file KDbEscapedString.h.
◆ toByteArray()
|
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()
|
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()
|
inline |
Definition at line 183 of file KDbEscapedString.h.
◆ toPercentEncoding()
|
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()
|
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()
|
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()
|
inline |
Definition at line 190 of file KDbEscapedString.h.
◆ truncate()
|
inline |
Definition at line 180 of file KDbEscapedString.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:38:31 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.