Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qstringalgorithms_p.h>
Classes | |
struct | TrimPositions |
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 TrimPositions | trimmed_helper_positions (const StringType &str) |
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 85 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(), str, and Qt::Uninitialized.
|
inlinestatic |
Definition at line 75 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 62 of file qstringalgorithms_p.h.
References begin(), QString::cbegin(), QString::cend(), QStringAlgorithms< StringType >::isSpace(), and str.
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().