edbee - Qt Editor Library
Public Member Functions | List of all members
edbee::RegExpEngine Class Referenceabstract

The minimal engine we currently require for handling regexpt. It may grow in the future. More...

#include <regexp.h>

+ Inheritance diagram for edbee::RegExpEngine:
+ Collaboration diagram for edbee::RegExpEngine:

Public Member Functions

virtual ~RegExpEngine ()
 
virtual QString pattern ()=0
 
virtual bool isValid ()=0
 
virtual QString error ()=0
 
virtual int indexIn (const QString &str, int offset)=0
 
virtual int indexIn (const QChar *str, int offset, int length)=0
 
virtual int lastIndexIn (const QString &str, int offset)=0
 
virtual int lastIndexIn (const QChar *str, int offset, int length)=0
 
virtual int pos (int nth=0) const =0
 
virtual int len (int nth=0) const =0
 
virtual QString cap (int nth=0) const =0
 

Detailed Description

The minimal engine we currently require for handling regexpt. It may grow in the future.

Constructor & Destructor Documentation

◆ ~RegExpEngine()

virtual edbee::RegExpEngine::~RegExpEngine ( )
inlinevirtual

Member Function Documentation

◆ cap()

virtual QString edbee::RegExpEngine::cap ( int  nth = 0) const
pure virtual

◆ error()

virtual QString edbee::RegExpEngine::error ( )
pure virtual

◆ indexIn() [1/2]

virtual int edbee::RegExpEngine::indexIn ( const QString &  str,
int  offset 
)
pure virtual

◆ indexIn() [2/2]

virtual int edbee::RegExpEngine::indexIn ( const QChar *  str,
int  offset,
int  length 
)
pure virtual

◆ isValid()

virtual bool edbee::RegExpEngine::isValid ( )
pure virtual

◆ lastIndexIn() [1/2]

virtual int edbee::RegExpEngine::lastIndexIn ( const QString &  str,
int  offset 
)
pure virtual

◆ lastIndexIn() [2/2]

virtual int edbee::RegExpEngine::lastIndexIn ( const QChar *  str,
int  offset,
int  length 
)
pure virtual

◆ len()

virtual int edbee::RegExpEngine::len ( int  nth = 0) const
pure virtual

◆ pattern()

virtual QString edbee::RegExpEngine::pattern ( )
pure virtual

◆ pos()

virtual int edbee::RegExpEngine::pos ( int  nth = 0) const
pure virtual

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