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
QRegularExpressionMatchPrivate Struct Reference
Inheritance diagram for QRegularExpressionMatchPrivate:
Collaboration diagram for QRegularExpressionMatchPrivate:

Public Member Functions

 QRegularExpressionMatchPrivate (const QRegularExpression &re, const QString &subjectStorage, QStringView subject, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions)
QRegularExpressionMatch nextMatch () const
 QRegularExpressionMatchPrivate (const QRegularExpression &re, const QString &subjectStorage, QStringView subject, QRegularExpression::MatchType matchType, QRegularExpression::MatchOptions matchOptions)
QRegularExpressionMatch nextMatch () const
Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
QSharedDataoperator= (const QSharedData &)=delete
 ~QSharedData ()=default

Public Attributes

const QRegularExpression regularExpression
const QString subjectStorage
const QStringView subject
const QRegularExpression::MatchType matchType
const QRegularExpression::MatchOptions matchOptions
QList< qsizetypecapturedOffsets
int capturedCount = 0
bool hasMatch = false
bool hasPartialMatch = false
bool isValid = false
Public Attributes inherited from QSharedData
QAtomicInt ref

Detailed Description

Definition at line 749 of file qregularexpression.cpp.

Constructor & Destructor Documentation

◆ QRegularExpressionMatchPrivate() [1/2]

QRegularExpressionMatchPrivate::QRegularExpressionMatchPrivate ( const QRegularExpression & re,
const QString & subjectStorage,
QStringView subject,
QRegularExpression::MatchType matchType,
QRegularExpression::MatchOptions matchOptions )

Definition at line 1271 of file qregularexpression.cpp.

References QRegularExpressionMatchPrivate().

Referenced by QRegularExpressionMatchPrivate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QRegularExpressionMatchPrivate() [2/2]

QRegularExpressionMatchPrivate::QRegularExpressionMatchPrivate ( const QRegularExpression & re,
const QString & subjectStorage,
QStringView subject,
QRegularExpression::MatchType matchType,
QRegularExpression::MatchOptions matchOptions )

Member Function Documentation

◆ nextMatch() [1/2]

QRegularExpressionMatch QRegularExpressionMatchPrivate::nextMatch ( ) const

Definition at line 1287 of file qregularexpression.cpp.

References hasMatch, hasPartialMatch, and isValid.

◆ nextMatch() [2/2]

QRegularExpressionMatch QRegularExpressionMatchPrivate::nextMatch ( ) const

Member Data Documentation

◆ capturedCount

int QRegularExpressionMatchPrivate::capturedCount = 0

Definition at line 774 of file qregularexpression.cpp.

Referenced by QRegularExpressionPrivate::doMatch().

◆ capturedOffsets

QList< qsizetype > QRegularExpressionMatchPrivate::capturedOffsets

Definition at line 772 of file qregularexpression.cpp.

◆ hasMatch

bool QRegularExpressionMatchPrivate::hasMatch = false

Definition at line 776 of file qregularexpression.cpp.

Referenced by QRegularExpressionPrivate::doMatch(), and nextMatch().

◆ hasPartialMatch

bool QRegularExpressionMatchPrivate::hasPartialMatch = false

Definition at line 777 of file qregularexpression.cpp.

Referenced by QRegularExpressionPrivate::doMatch(), and nextMatch().

◆ isValid

bool QRegularExpressionMatchPrivate::isValid = false

Definition at line 778 of file qregularexpression.cpp.

Referenced by QRegularExpressionPrivate::doMatch(), and nextMatch().

◆ matchOptions

const QRegularExpression::MatchOptions QRegularExpressionMatchPrivate::matchOptions

Definition at line 768 of file qregularexpression.cpp.

◆ matchType

const QRegularExpression::MatchType QRegularExpressionMatchPrivate::matchType

Definition at line 767 of file qregularexpression.cpp.

◆ regularExpression

const QRegularExpression QRegularExpressionMatchPrivate::regularExpression

Definition at line 759 of file qregularexpression.cpp.

◆ subject

const QStringView QRegularExpressionMatchPrivate::subject

Definition at line 765 of file qregularexpression.cpp.

◆ subjectStorage

const QString QRegularExpressionMatchPrivate::subjectStorage

Definition at line 764 of file qregularexpression.cpp.


The documentation for this struct was generated from the following file: