QStringRef

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_PRIMITIVE_TYPE
struct QStringRef {}

Constructors

this
this(const(QString)* aString, int aPosition, int aSize)
Undocumented in source.
this
this(const(QString)* aString)
Undocumented in source.
this
this(const(QStringRef) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

const_iterator
alias const_iterator = const(QChar)*
Undocumented in source.
const_pointer
alias const_pointer = QString.const_pointer
Undocumented in source.
size_type
alias size_type = QString.size_type
Undocumented in source.
value_type
alias value_type = QString.value_type
Undocumented in source.

Functions

appendTo
QStringRef appendTo(QString* string)
Undocumented in source.
at
const(QChar) at(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
back
QChar back()
Undocumented in source. Be warned that the author may not have intended to support it.
begin
const_iterator begin()
Undocumented in source. Be warned that the author may not have intended to support it.
cbegin
const_iterator cbegin()
Undocumented in source. Be warned that the author may not have intended to support it.
cend
const_iterator cend()
Undocumented in source. Be warned that the author may not have intended to support it.
chop
void chop(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
chopped
QStringRef chopped(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(const(QString) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(const(QStringRef) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(QLatin1String s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
constBegin
const_iterator constBegin()
Undocumented in source. Be warned that the author may not have intended to support it.
constData
const(QChar)* constData()
Undocumented in source. Be warned that the author may not have intended to support it.
constEnd
const_iterator constEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(const(QString) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(const(QStringRef) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(QLatin1String s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(QStringView s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
count
int count()
Undocumented in source. Be warned that the author may not have intended to support it.
count
int count(const(QString) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
count
int count(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
count
int count(const(QStringRef) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
data
const(QChar)* data()
Undocumented in source. Be warned that the author may not have intended to support it.
end
const_iterator end()
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(QStringView s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(QLatin1String s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
endsWith
bool endsWith(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
endsWith
bool endsWith(const(QString) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
endsWith
bool endsWith(const(QStringRef) c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
front
QChar front()
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
int indexOf(const(QString) str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
indexOf
int indexOf(const(QStringRef) str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
indexOf
int indexOf(QStringView s, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
int indexOf(QChar ch, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
indexOf
int indexOf(QLatin1String str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isNull
bool isNull()
Undocumented in source. Be warned that the author may not have intended to support it.
isRightToLeft
bool isRightToLeft()
Undocumented in source.
lastIndexOf
int lastIndexOf(const(QStringRef) str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
lastIndexOf
int lastIndexOf(const(QString) str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
lastIndexOf
int lastIndexOf(QChar ch, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
lastIndexOf
int lastIndexOf(QLatin1String str, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
lastIndexOf
int lastIndexOf(QStringView s, int from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
left
QStringRef left(int n)
Undocumented in source.
length
int length()
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(const(QString) s)
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(const(QStringRef) s)
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(QStringView s)
Undocumented in source. Be warned that the author may not have intended to support it.
mid
QStringRef mid(int pos, int n)
Undocumented in source.
opIndex
QChar opIndex(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
position
int position()
Undocumented in source. Be warned that the author may not have intended to support it.
right
QStringRef right(int n)
Undocumented in source.
size
int size()
Undocumented in source. Be warned that the author may not have intended to support it.
split
QVector!(QStringRef) split(const(QString) sep, QString.SplitBehavior behavior, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
split
QVector!(QStringRef) split(QChar sep, QString.SplitBehavior behavior, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
split
QVector!(QStringRef) split(const(QString) sep, qt.core.namespace.SplitBehavior behavior, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
split
QVector!(QStringRef) split(QChar sep, qt.core.namespace.SplitBehavior behavior, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
startsWith
bool startsWith(QStringView s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(QLatin1String s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
startsWith
bool startsWith(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
startsWith
bool startsWith(const(QString) s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
startsWith
bool startsWith(const(QStringRef) c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source.
toDouble
double toDouble(bool* ok)
Undocumented in source.
toFloat
float toFloat(bool* ok)
Undocumented in source.
toInt
int toInt(bool* ok, int base)
Undocumented in source.
toLatin1
QByteArray toLatin1()
Undocumented in source.
toLocal8Bit
QByteArray toLocal8Bit()
Undocumented in source.
toLong
cpp_long toLong(bool* ok, int base)
Undocumented in source.
toLongLong
qlonglong toLongLong(bool* ok, int base)
Undocumented in source.
toShort
short toShort(bool* ok, int base)
Undocumented in source.
toString
QString toString()
Undocumented in source.
toUInt
uint toUInt(bool* ok, int base)
Undocumented in source.
toULong
cpp_ulong toULong(bool* ok, int base)
Undocumented in source.
toULongLong
qulonglong toULongLong(bool* ok, int base)
Undocumented in source.
toUShort
ushort toUShort(bool* ok, int base)
Undocumented in source.
toUcs4
QVector!(uint) toUcs4()
Undocumented in source.
toUtf8
QByteArray toUtf8()
Undocumented in source.
trimmed
QStringRef trimmed()
Undocumented in source.
truncate
void truncate(int pos)
Undocumented in source. Be warned that the author may not have intended to support it.
unicode
const(QChar)* unicode()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

compare
int compare(const(QStringRef) s1, const(QString) s2, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(const(QStringRef) s1, const(QStringRef) s2, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(const(QStringRef) s1, QLatin1String s2, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(const(QStringRef) s1, const(QString) s2)
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(const(QStringRef) s1, const(QStringRef) s2)
Undocumented in source. Be warned that the author may not have intended to support it.
localeAwareCompare
int localeAwareCompare(QStringView s1, QStringView s2)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta