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 46 of file qanystringviewutils_p.h.

◆ doesContain() [1/3]

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

Definition at line 41 of file qanystringviewutils_p.h.

◆ doesContain() [2/3]

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

Definition at line 40 of file qanystringviewutils_p.h.

◆ doesContain() [3/3]

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

Definition at line 42 of file qanystringviewutils_p.h.

◆ doTrimmed()

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

Definition at line 82 of file qanystringviewutils_p.h.

◆ endsWith()

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

Definition at line 27 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [1/3]

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

Definition at line 55 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [2/3]

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

Definition at line 51 of file qanystringviewutils_p.h.

◆ getLastIndexOf() [3/3]

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

Definition at line 59 of file qanystringviewutils_p.h.

◆ lastIndexOf()

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

Definition at line 63 of file qanystringviewutils_p.h.

◆ processAsUtf8()

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

Definition at line 101 of file qanystringviewutils_p.h.

◆ split()

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

Definition at line 133 of file qanystringviewutils_p.h.

◆ startsWith()

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

Definition at line 34 of file qanystringviewutils_p.h.

◆ toInt() [1/4]

int QAnyStringViewUtils::toInt ( QAnyStringView string)
inline

Definition at line 76 of file qanystringviewutils_p.h.

◆ toInt() [2/4]

int QAnyStringViewUtils::toInt ( QLatin1StringView view)
inline

Definition at line 73 of file qanystringviewutils_p.h.

◆ toInt() [3/4]

int QAnyStringViewUtils::toInt ( QStringView view)
inline

Definition at line 74 of file qanystringviewutils_p.h.

◆ toInt() [4/4]

int QAnyStringViewUtils::toInt ( QUtf8StringView view)
inline

Definition at line 69 of file qanystringviewutils_p.h.

◆ trimmed()

QAnyStringView QAnyStringViewUtils::trimmed ( QAnyStringView string)
inline

Definition at line 93 of file qanystringviewutils_p.h.