Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MtpRegExp Class Reference

#include <MtpRegExp.h>

Collaboration diagram for MtpRegExp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MtpRegExp (const QString &="", MtpContext *ctxt=0)
 ~MtpRegExp ()
bool exactMatch (const QString &)
QString cap (int i)
int search (const QString &, int &) const
int matchedLength () const

Private Attributes

QRegExp reg
QString pattern
MtpContextm_context

Detailed Description

Yann Hodique

Definition at line 23 of file MtpRegExp.h.


Constructor & Destructor Documentation

MtpRegExp::MtpRegExp const QString &  = "",
MtpContext ctxt = 0
 

Definition at line 15 of file MtpRegExp.cpp.

References m_context, and pattern.

MtpRegExp::~MtpRegExp  ) 
 

Definition at line 20 of file MtpRegExp.cpp.


Member Function Documentation

QString MtpRegExp::cap int  i  ) 
 

Definition at line 50 of file MtpRegExp.cpp.

References reg.

Referenced by Filter::applyProcessedRegexpToPattern().

bool MtpRegExp::exactMatch const QString &   ) 
 

Definition at line 22 of file MtpRegExp.cpp.

References MtpContext::getValue(), m_context, pattern, and reg.

Referenced by LineFilter::applyTo(), ItemFilter::applyTo(), InputFilter::applyTo(), GlobalFilter::applyTo(), and BlockFilter::applyTo().

int MtpRegExp::matchedLength  )  const
 

Definition at line 58 of file MtpRegExp.cpp.

References reg.

int MtpRegExp::search const QString &  ,
int & 
const
 

Definition at line 54 of file MtpRegExp.cpp.

References reg.


Member Data Documentation

MtpContext* MtpRegExp::m_context [private]
 

Definition at line 37 of file MtpRegExp.h.

Referenced by exactMatch(), and MtpRegExp().

QString MtpRegExp::pattern [private]
 

Definition at line 36 of file MtpRegExp.h.

Referenced by exactMatch(), and MtpRegExp().

QRegExp MtpRegExp::reg [private]
 

Definition at line 35 of file MtpRegExp.h.

Referenced by cap(), exactMatch(), matchedLength(), and search().


The documentation for this class was generated from the following files:
Generated on Sat May 10 15:10:02 2003 for qnet by doxygen1.3