QStringView

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 QStringView {}

Constructors

this
this(typeof(null) )
Undocumented in source.
this
this(Char* str, qsizetype len)
Undocumented in source.
this
this(String str)
Undocumented in source.

Members

Aliases

const_iterator
alias const_iterator = const_pointer
Undocumented in source.
const_pointer
alias const_pointer = value_type*
Undocumented in source.
difference_type
alias difference_type = ptrdiff_t
Undocumented in source.
iterator
alias iterator = pointer
Undocumented in source.
pointer
alias pointer = value_type*
Undocumented in source.
size_type
alias size_type = qsizetype
Undocumented in source.
storage_type
alias storage_type = wchar
Undocumented in source.
value_type
alias value_type = const(QChar)
Undocumented in source.

Functions

at
QChar at(qsizetype n)
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(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
chopped
QStringView chopped(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
compare
int compare(QStringView other, 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.
compare
int compare(QChar c)
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.
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(QStringView s, 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.
count
qsizetype count(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
count
qsizetype count(QStringView s, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
data
const_pointer data()
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
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. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(QChar c)
Undocumented in source. Be warned that the author may not have intended to support it.
endsWith
bool endsWith(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
first
QChar first()
Undocumented in source. Be warned that the author may not have intended to support it.
front
QChar front()
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(QChar c, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(QStringView s, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
indexOf
qsizetype indexOf(QLatin1String s, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
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. Be warned that the author may not have intended to support it.
isValidUtf16
bool isValidUtf16()
Undocumented in source. Be warned that the author may not have intended to support it.
last
QChar last()
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QChar c, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QStringView s, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
lastIndexOf
qsizetype lastIndexOf(QLatin1String s, qsizetype from, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
left
QStringView left(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
length
int length()
Undocumented in source. Be warned that the author may not have intended to support it.
mid
QStringView mid(qsizetype pos)
Undocumented in source. Be warned that the author may not have intended to support it.
mid
QStringView mid(qsizetype pos, qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
QChar opIndex(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
right
QStringView right(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
size
qsizetype size()
Undocumented in source. Be warned that the author may not have intended to support it.
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. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(QChar c)
Undocumented in source. Be warned that the author may not have intended to support it.
startsWith
bool startsWith(QChar c, qt.core.namespace.CaseSensitivity cs)
Undocumented in source. Be warned that the author may not have intended to support it.
toDouble
double toDouble(bool* ok)
Undocumented in source. Be warned that the author may not have intended to support it.
toFloat
float toFloat(bool* ok)
Undocumented in source. Be warned that the author may not have intended to support it.
toInt
int toInt(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toLatin1
QByteArray toLatin1()
Undocumented in source. Be warned that the author may not have intended to support it.
toLocal8Bit
QByteArray toLocal8Bit()
Undocumented in source. Be warned that the author may not have intended to support it.
toLong
cpp_long toLong(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toLongLong
qlonglong toLongLong(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toShort
short toShort(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString()
Undocumented in source. Be warned that the author may not have intended to support it.
toUInt
uint toUInt(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toULong
cpp_ulong toULong(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toULongLong
qulonglong toULongLong(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toUShort
ushort toUShort(bool* ok, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toUcs4
QVector!(uint) toUcs4()
Undocumented in source. Be warned that the author may not have intended to support it.
toUtf8
QByteArray toUtf8()
Undocumented in source. Be warned that the author may not have intended to support it.
trimmed
QStringView trimmed()
Undocumented in source. Be warned that the author may not have intended to support it.
truncate
void truncate(qsizetype n)
Undocumented in source. Be warned that the author may not have intended to support it.
utf16
const(storage_type)* utf16()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta