ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
QtCompatRegExpWrapper Class Reference

#include <QtCompat.h>

Public Member Functions

 QtCompatRegExpWrapper ()=default
 
 QtCompatRegExpWrapper (const QRegularExpression &regex)
 
 QtCompatRegExpWrapper (const QString &pattern)
 
int indexIn (const QString &str, int offset=0) const
 
int pos (int nth=0) const noexcept
 
QString cap (int nth=0) const
 
int matchedLength () const noexcept
 
const QRegularExpression & regex () const noexcept
 
 operator const QRegularExpression & () const noexcept
 

Detailed Description

Definition at line 479 of file QtCompat.h.

Constructor & Destructor Documentation

◆ QtCompatRegExpWrapper() [1/3]

QtCompatRegExpWrapper::QtCompatRegExpWrapper ( )
default

◆ QtCompatRegExpWrapper() [2/3]

QtCompatRegExpWrapper::QtCompatRegExpWrapper ( const QRegularExpression &  regex)
inline

Definition at line 487 of file QtCompat.h.

◆ QtCompatRegExpWrapper() [3/3]

QtCompatRegExpWrapper::QtCompatRegExpWrapper ( const QString &  pattern)
inline

Definition at line 489 of file QtCompat.h.

Member Function Documentation

◆ cap()

QString QtCompatRegExpWrapper::cap ( int  nth = 0) const
inline

Definition at line 503 of file QtCompat.h.

◆ indexIn()

int QtCompatRegExpWrapper::indexIn ( const QString &  str,
int  offset = 0 
) const
inline

Definition at line 492 of file QtCompat.h.

References offset.

◆ matchedLength()

int QtCompatRegExpWrapper::matchedLength ( ) const
inlinenoexcept

Definition at line 506 of file QtCompat.h.

◆ operator const QRegularExpression &()

QtCompatRegExpWrapper::operator const QRegularExpression & ( ) const
inlinenoexcept

Definition at line 512 of file QtCompat.h.

◆ pos()

int QtCompatRegExpWrapper::pos ( int  nth = 0) const
inlinenoexcept

Definition at line 498 of file QtCompat.h.

◆ regex()

const QRegularExpression& QtCompatRegExpWrapper::regex ( ) const
inlinenoexcept

Definition at line 509 of file QtCompat.h.


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