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>.
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
 
- 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 747 of file qregularexpression.cpp.

Constructor & Destructor Documentation

◆ QRegularExpressionMatchPrivate()

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

Definition at line 1268 of file qregularexpression.cpp.

Referenced by nextMatch().

+ Here is the caller graph for this function:

Member Function Documentation

◆ nextMatch()

QRegularExpressionMatch QRegularExpressionMatchPrivate::nextMatch ( ) const

Definition at line 1284 of file qregularexpression.cpp.

References QRegularExpressionMatchPrivate(), QList< T >::at(), capturedOffsets, QRegularExpressionPrivate::doMatch(), QRegularExpressionPrivate::DontCheckSubjectString, hasMatch, hasPartialMatch, isValid, matchOptions, matchType, Q_ASSERT, regularExpression, subject, and subjectStorage.

Referenced by QRegularExpressionMatchIterator::next().

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

Member Data Documentation

◆ capturedCount

int QRegularExpressionMatchPrivate::capturedCount = 0

◆ capturedOffsets

◆ hasMatch

bool QRegularExpressionMatchPrivate::hasMatch = false

◆ hasPartialMatch

bool QRegularExpressionMatchPrivate::hasPartialMatch = false

Definition at line 775 of file qregularexpression.cpp.

Referenced by QRegularExpressionMatch::hasPartialMatch(), and nextMatch().

◆ isValid

bool QRegularExpressionMatchPrivate::isValid = false

◆ matchOptions

const QRegularExpression::MatchOptions QRegularExpressionMatchPrivate::matchOptions

Definition at line 766 of file qregularexpression.cpp.

Referenced by QRegularExpressionMatch::matchOptions(), and nextMatch().

◆ matchType

const QRegularExpression::MatchType QRegularExpressionMatchPrivate::matchType

Definition at line 765 of file qregularexpression.cpp.

Referenced by QRegularExpressionMatch::matchType(), and nextMatch().

◆ regularExpression

◆ subject

const QStringView QRegularExpressionMatchPrivate::subject

Definition at line 763 of file qregularexpression.cpp.

Referenced by QRegularExpressionMatch::capturedView(), and nextMatch().

◆ subjectStorage

const QString QRegularExpressionMatchPrivate::subjectStorage

Definition at line 762 of file qregularexpression.cpp.

Referenced by nextMatch().


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