![]() |
Qt 6.x
The Qt SDK
|
#include <qstringalgorithms_p.h>
Public Types | |
typedef StringType::value_type | Char |
typedef StringType::size_type | size_type |
typedef std::remove_cv< StringType >::type | NakedStringType |
Static Public Member Functions | |
static bool | isSpace (char ch) |
static bool | isSpace (QChar ch) |
static StringType | trimmed_helper_inplace (NakedStringType &str, const Char *begin, const Char *end) |
static StringType | trimmed_helper_inplace (const NakedStringType &, const Char *, const Char *) |
static void | trimmed_helper_positions (const Char *&begin, const Char *&end) |
static StringType | trimmed_helper (StringType &str) |
static StringType | simplified_helper (StringType &str) |
Static Public Attributes | |
static const bool | isConst = std::is_const<StringType>::value |
Definition at line 23 of file qstringalgorithms_p.h.
typedef StringType::value_type QStringAlgorithms< StringType >::Char |
Definition at line 25 of file qstringalgorithms_p.h.
typedef std::remove_cv<StringType>::type QStringAlgorithms< StringType >::NakedStringType |
Definition at line 27 of file qstringalgorithms_p.h.
typedef StringType::size_type QStringAlgorithms< StringType >::size_type |
Definition at line 26 of file qstringalgorithms_p.h.
|
inlinestatic |
Definition at line 30 of file qstringalgorithms_p.h.
References ascii_isspace(), and ch.
Referenced by QStringAlgorithms< StringType >::simplified_helper(), and QStringAlgorithms< StringType >::trimmed_helper_positions().
|
inlinestatic |
Definition at line 31 of file qstringalgorithms_p.h.
References ch.
|
inlinestatic |
Definition at line 76 of file qstringalgorithms_p.h.
References QString::cbegin(), QString::cend(), forever, QStringAlgorithms< StringType >::isConst, QString::isDetached(), QString::isEmpty(), QStringAlgorithms< StringType >::isSpace(), ptr(), QString::resize(), QString::size(), QChar::Space, str, and Qt::Uninitialized.
|
inlinestatic |
Definition at line 63 of file qstringalgorithms_p.h.
References begin(), QString::cbegin(), QString::cend(), QStringAlgorithms< StringType >::isConst, QString::isDetached(), str, QStringAlgorithms< StringType >::trimmed_helper_inplace(), and QStringAlgorithms< StringType >::trimmed_helper_positions().
|
inlinestatic |
Definition at line 47 of file qstringalgorithms_p.h.
|
inlinestatic |
Definition at line 37 of file qstringalgorithms_p.h.
References begin(), QString::cbegin(), QString::resize(), and str.
Referenced by QStringAlgorithms< StringType >::trimmed_helper().
|
inlinestatic |
Definition at line 53 of file qstringalgorithms_p.h.
References begin(), and QStringAlgorithms< StringType >::isSpace().
Referenced by QtPrivate::trimmed(), and QStringAlgorithms< StringType >::trimmed_helper().
|
static |
Definition at line 28 of file qstringalgorithms_p.h.
Referenced by QStringAlgorithms< StringType >::simplified_helper(), and QStringAlgorithms< StringType >::trimmed_helper().