QtBase  v6.3.1
Public Types | Public Member Functions | Public Attributes | List of all members
QRegularExpressionPrivate Struct Reference
Inheritance diagram for QRegularExpressionPrivate:
Inheritance graph
[legend]
Collaboration diagram for QRegularExpressionPrivate:
Collaboration graph
[legend]

Public Types

enum  CheckSubjectStringOption { CheckSubjectString , DontCheckSubjectString }
 

Public Member Functions

 QRegularExpressionPrivate ()
 
 ~QRegularExpressionPrivate ()
 
 QRegularExpressionPrivate (const QRegularExpressionPrivate &other)
 
void cleanCompiledPattern ()
 
void compilePattern ()
 
void getPatternInfo ()
 
void optimizePattern ()
 
void doMatch (QRegularExpressionMatchPrivate *priv, qsizetype offset, CheckSubjectStringOption checkSubjectStringOption=CheckSubjectString, const QRegularExpressionMatchPrivate *previous=nullptr) const
 
int captureIndexForName (QStringView name) const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 
 QSharedData (const QSharedData &) noexcept
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

QRegularExpression::PatternOptions patternOptions
 
QString pattern
 
QMutex mutex
 
pcre2_code_16 * compiledPattern
 
int errorCode
 
qsizetype errorOffset
 
int capturingCount
 
bool usingCrLfNewlines
 
bool isDirty
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 738 of file qregularexpression.cpp.

Member Enumeration Documentation

◆ CheckSubjectStringOption

Enumerator
CheckSubjectString 
DontCheckSubjectString 

Definition at line 749 of file qregularexpression.cpp.

Constructor & Destructor Documentation

◆ QRegularExpressionPrivate() [1/2]

QRegularExpressionPrivate::QRegularExpressionPrivate ( )

Definition at line 838 of file qregularexpression.cpp.

◆ ~QRegularExpressionPrivate()

QRegularExpressionPrivate::~QRegularExpressionPrivate ( )

Definition at line 855 of file qregularexpression.cpp.

Here is the call graph for this function:

◆ QRegularExpressionPrivate() [2/2]

QRegularExpressionPrivate::QRegularExpressionPrivate ( const QRegularExpressionPrivate other)

Definition at line 869 of file qregularexpression.cpp.

Member Function Documentation

◆ captureIndexForName()

int QRegularExpressionPrivate::captureIndexForName ( QStringView  name) const

Definition at line 1052 of file qregularexpression.cpp.

Here is the caller graph for this function:

◆ cleanCompiledPattern()

void QRegularExpressionPrivate::cleanCompiledPattern ( )

Definition at line 886 of file qregularexpression.cpp.

Here is the caller graph for this function:

◆ compilePattern()

void QRegularExpressionPrivate::compilePattern ( )

Definition at line 899 of file qregularexpression.cpp.

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

◆ doMatch()

void QRegularExpressionPrivate::doMatch ( QRegularExpressionMatchPrivate priv,
qsizetype  offset,
CheckSubjectStringOption  checkSubjectStringOption = CheckSubjectString,
const QRegularExpressionMatchPrivate previous = nullptr 
) const

Definition at line 1136 of file qregularexpression.cpp.

Here is the caller graph for this function:

◆ getPatternInfo()

void QRegularExpressionPrivate::getPatternInfo ( )

Definition at line 935 of file qregularexpression.cpp.

◆ optimizePattern()

void QRegularExpressionPrivate::optimizePattern ( )

Definition at line 1034 of file qregularexpression.cpp.

Member Data Documentation

◆ capturingCount

int QRegularExpressionPrivate::capturingCount

Definition at line 776 of file qregularexpression.cpp.

◆ compiledPattern

pcre2_code_16* QRegularExpressionPrivate::compiledPattern

Definition at line 773 of file qregularexpression.cpp.

◆ errorCode

int QRegularExpressionPrivate::errorCode

Definition at line 774 of file qregularexpression.cpp.

◆ errorOffset

qsizetype QRegularExpressionPrivate::errorOffset

Definition at line 775 of file qregularexpression.cpp.

◆ isDirty

bool QRegularExpressionPrivate::isDirty

Definition at line 778 of file qregularexpression.cpp.

◆ mutex

QMutex QRegularExpressionPrivate::mutex
mutable

Definition at line 768 of file qregularexpression.cpp.

◆ pattern

QString QRegularExpressionPrivate::pattern

Definition at line 763 of file qregularexpression.cpp.

◆ patternOptions

QRegularExpression::PatternOptions QRegularExpressionPrivate::patternOptions

Definition at line 762 of file qregularexpression.cpp.

◆ usingCrLfNewlines

bool QRegularExpressionPrivate::usingCrLfNewlines

Definition at line 777 of file qregularexpression.cpp.


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