Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QAnyStringViewUtils Namespace Reference

Functions

bool endsWith (QAnyStringView whole, QLatin1StringView part)
bool startsWith (QAnyStringView whole, QLatin1StringView part)
bool doesContain (QStringView whole, QLatin1Char part)
bool doesContain (QLatin1StringView whole, QLatin1Char part)
bool doesContain (QUtf8StringView whole, QLatin1Char part)
bool contains (QAnyStringView whole, QLatin1Char part)
qsizetype getLastIndexOf (QStringView whole, QLatin1StringView part)
qsizetype getLastIndexOf (QLatin1StringView whole, QLatin1StringView part)
qsizetype getLastIndexOf (QUtf8StringView whole, QLatin1StringView part)
qsizetype lastIndexOf (QAnyStringView whole, QLatin1StringView part)
int toInt (QUtf8StringView view)
int toInt (QLatin1StringView view)
int toInt (QStringView view)
int toInt (QAnyStringView string)
template<typename StringView>
QAnyStringView doTrimmed (StringView string)
QAnyStringView trimmed (QAnyStringView string)
template<typename StringView, typename Handler>
auto processAsUtf8 (StringView string, Handler &&handler)
QList< QAnyStringViewsplit (QAnyStringView source, QLatin1StringView sep)

Function Documentation

◆ contains()

bool QAnyStringViewUtils::contains ( QAnyStringView whole,
QLatin1Char part )
inline

Definition at line 45 of file qanystringviewutils_p.h.

◆ doesContain() [1/3]

bool QAnyStringViewUtils::doesContain ( QLatin1StringView whole,
QLatin1Char part )
inline

Definition at line 40 of file qanystringviewutils_p.h.

◆ doesContain() [2/3]

bool QAnyStringViewUtils::doesContain ( QStringView whole,
QLatin1Char part )
inline

Definition at line 39 of file qanystringviewutils_p.h.

◆ doesContain() [3/3]

bool QAnyStringViewUtils::doesContain ( QUtf8StringView whole,
QLatin1Char part )
inline

Definition at line 41 of file qanystringviewutils_p.h.

◆ doTrimmed()

template<typename StringView>
QAnyStringView QAnyStringViewUtils::doTrimmed ( StringView string)

Definition at line 81 of file qanystringviewutils_p.h.

◆ endsWith()

bool QAnyStringViewUtils::endsWith ( QAnyStringView whole,
QLatin1StringView part )
inline

Definition at line 26 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [1/3]

qsizetype QAnyStringViewUtils::getLastIndexOf ( QLatin1StringView whole,
QLatin1StringView part )
inline

Definition at line 54 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [2/3]

qsizetype QAnyStringViewUtils::getLastIndexOf ( QStringView whole,
QLatin1StringView part )
inline

Definition at line 50 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [3/3]

qsizetype QAnyStringViewUtils::getLastIndexOf ( QUtf8StringView whole,
QLatin1StringView part )
inline

Definition at line 58 of file qanystringviewutils_p.h.

◆ lastIndexOf()

qsizetype QAnyStringViewUtils::lastIndexOf ( QAnyStringView whole,
QLatin1StringView part )
inline

Definition at line 62 of file qanystringviewutils_p.h.

◆ processAsUtf8()

template<typename StringView, typename Handler>
auto QAnyStringViewUtils::processAsUtf8 ( StringView string,
Handler && handler )

Definition at line 100 of file qanystringviewutils_p.h.

◆ split()

QList< QAnyStringView > QAnyStringViewUtils::split ( QAnyStringView source,
QLatin1StringView sep )
inline

Definition at line 132 of file qanystringviewutils_p.h.

◆ startsWith()

bool QAnyStringViewUtils::startsWith ( QAnyStringView whole,
QLatin1StringView part )
inline

Definition at line 33 of file qanystringviewutils_p.h.

◆ toInt() [1/4]

int QAnyStringViewUtils::toInt ( QAnyStringView string)
inline

Definition at line 75 of file qanystringviewutils_p.h.

◆ toInt() [2/4]

int QAnyStringViewUtils::toInt ( QLatin1StringView view)
inline

Definition at line 72 of file qanystringviewutils_p.h.

◆ toInt() [3/4]

int QAnyStringViewUtils::toInt ( QStringView view)
inline

Definition at line 73 of file qanystringviewutils_p.h.

◆ toInt() [4/4]

int QAnyStringViewUtils::toInt ( QUtf8StringView view)
inline

Definition at line 68 of file qanystringviewutils_p.h.

◆ trimmed()

QAnyStringView QAnyStringViewUtils::trimmed ( QAnyStringView string)
inline

Definition at line 92 of file qanystringviewutils_p.h.