![]() |
Qt 6.x
The Qt SDK
|
Functions | |
QAnyStringView | toStringView (const QCborValue &value) |
QAnyStringView | toStringView (const QCborMap &map, QLatin1StringView key) |
bool | endsWith (QAnyStringView whole, QAnyStringView part) |
bool | startsWith (QAnyStringView whole, QAnyStringView 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) |
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< QAnyStringView > | split (QAnyStringView source, QAnyStringView sep) |
|
inline |
Definition at line 66 of file qanystringviewutils_p.h.
References doesContain(), view, and QAnyStringView::visit().
|
inline |
Definition at line 61 of file qanystringviewutils_p.h.
References QLatin1StringView::contains().
|
inline |
Definition at line 60 of file qanystringviewutils_p.h.
References QStringView::contains().
Referenced by contains().
|
inline |
Definition at line 62 of file qanystringviewutils_p.h.
References QByteArrayView::contains(), QBasicUtf8StringView< UseChar8T >::data(), QBasicUtf8StringView< UseChar8T >::size(), and QLatin1Char::toLatin1().
QAnyStringView QAnyStringViewUtils::doTrimmed | ( | StringView | string | ) |
Definition at line 84 of file qanystringviewutils_p.h.
References trimmed().
Referenced by trimmed().
|
inline |
Definition at line 50 of file qanystringviewutils_p.h.
References QAnyStringView::last(), and QAnyStringView::length().
auto QAnyStringViewUtils::processAsUtf8 | ( | StringView | string, |
Handler && | handler | ||
) |
Definition at line 103 of file qanystringviewutils_p.h.
References processAsUtf8(), and view.
Referenced by enquoteAnyString(), and processAsUtf8().
|
inline |
Definition at line 134 of file qanystringviewutils_p.h.
References QList< T >::append(), QList< T >::length(), list, and sep.
|
inline |
Definition at line 55 of file qanystringviewutils_p.h.
References QAnyStringView::first(), and QAnyStringView::length().
Referenced by QmlTypesClassDescription::findType().
|
inline |
|
inline |
Definition at line 75 of file qanystringviewutils_p.h.
References view.
|
inline |
Definition at line 76 of file qanystringviewutils_p.h.
References view.
|
inline |
Definition at line 71 of file qanystringviewutils_p.h.
References QByteArrayView::toInt(), and view.
Referenced by toInt().
|
inline |
Definition at line 45 of file qanystringviewutils_p.h.
References map, and toStringView().
|
inline |
Definition at line 27 of file qanystringviewutils_p.h.
References QList< T >::at(), QCborContainerPrivate::byteData(), QJsonPrivate::Value::container(), e, QCborContainerPrivate::elements, QtCbor::Element::StringIsAscii, QtCbor::Element::StringIsUtf16, and QJsonPrivate::Value::valueHelper().
Referenced by QmlTypesClassDescription::collect(), QmlTypesClassDescription::collectLocalAnonymous(), MetaTypesJsonProcessor::extractRegisteredTypes(), QmlTypesClassDescription::findType(), MetaTypesJsonProcessor::namespaces(), toStringView(), and QmlTypeRegistrar::write().
|
inline |
Definition at line 95 of file qanystringviewutils_p.h.
References doTrimmed(), and QAnyStringView::visit().
Referenced by doTrimmed().