Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QRegExpEngine::Box Class Reference

Collaboration diagram for QRegExpEngine::Box:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Box (QRegExpEngine *engine)
 Box (const Box &b)
Boxoperator= (const Box &b)
void clear ()
void set (QChar ch)
void set (const CharClass &cc)
void set (int bref)
void cat (const Box &b)
void orx (const Box &b)
void plus (int atom)
void opt ()
void catAnchor (int a)
void setupHeuristics ()
 Box (QRegExpEngine *engine)
 Box (const Box &b)
Boxoperator= (const Box &b)
void clear ()
void set (QChar ch)
void set (const CharClass &cc)
void set (int bref)
void cat (const Box &b)
void orx (const Box &b)
void plus (int atom)
void opt ()
void catAnchor (int a)
void setupHeuristics ()

Private Member Functions

void addAnchorsToEngine (const Box &to) const
void addAnchorsToEngine (const Box &to) const

Private Attributes

QRegExpEngineeng
QArray< int > ls
QArray< int > rs
QMap< int, int > lanchors
QMap< int, int > ranchors
int skipanchors
int earlyStart
int lateStart
QString str
QString leftStr
QString rightStr
int maxl
int minl
QArray< int > occ1
QRegExpEngineeng
QMemArray< int > ls
QMemArray< int > rs
QMap< int, int > lanchors
QMap< int, int > ranchors
QMemArray< int > occ1

Constructor & Destructor Documentation

QRegExpEngine::Box::Box QRegExpEngine engine  ) 
 

Definition at line 2216 of file qregexp3.cpp.

References minl.

Referenced by clear().

QRegExpEngine::Box::Box const Box b  )  [inline]
 

Definition at line 1065 of file qregexp3.cpp.

References operator=().

QRegExpEngine::Box::Box QRegExpEngine engine  ) 
 

QRegExpEngine::Box::Box const Box b  )  [inline]
 

Definition at line 1125 of file qregexp.cpp.

References operator=().


Member Function Documentation

void QRegExpEngine::Box::addAnchorsToEngine const Box to  )  const [private]
 

void QRegExpEngine::Box::addAnchorsToEngine const Box to  )  const [private]
 

Definition at line 2474 of file qregexp3.cpp.

References QRegExpEngine::addAnchors(), QRegExpEngine::anchorConcatenation(), at(), eng, and rs.

Referenced by cat(), and plus().

void QRegExpEngine::Box::cat const Box b  ) 
 

void QRegExpEngine::Box::cat const Box b  ) 
 

Definition at line 2292 of file qregexp3.cpp.

References addAnchorsToEngine(), QRegExpEngine::addCatTransitions(), QRegExpEngine::anchorConcatenation(), at(), earlyStart, eng, InftyLen, lanchors, lateStart, leftStr, QString::length(), ls, maxl, mergeInto(), minl, NoOccurrence, NumBadChars, occ1, ranchors, rightStr, rs, skipanchors, and str.

Referenced by QRegExpEngine::parse(), and QRegExpEngine::parseFactor().

void QRegExpEngine::Box::catAnchor int  a  ) 
 

void QRegExpEngine::Box::catAnchor int  a  ) 
 

Definition at line 2415 of file qregexp3.cpp.

References QRegExpEngine::anchorConcatenation(), at(), eng, minl, ranchors, rs, and skipanchors.

Referenced by QRegExpEngine::parseAtom().

void QRegExpEngine::Box::clear  )  [inline]
 

Definition at line 1129 of file qregexp.cpp.

References Box(), eng, and operator=().

void QRegExpEngine::Box::clear  )  [inline]
 

Definition at line 1069 of file qregexp3.cpp.

References Box(), eng, and operator=().

Box& QRegExpEngine::Box::operator= const Box b  ) 
 

QRegExpEngine::Box & QRegExpEngine::Box::operator= const Box b  ) 
 

Definition at line 2225 of file qregexp3.cpp.

References earlyStart, eng, lanchors, lateStart, leftStr, ls, maxl, minl, occ1, ranchors, rightStr, rs, skipanchors, and str.

Referenced by Box(), and clear().

void QRegExpEngine::Box::opt  ) 
 

void QRegExpEngine::Box::opt  ) 
 

Definition at line 2402 of file qregexp3.cpp.

References earlyStart, lateStart, leftStr, minl, QString::null, rightStr, skipanchors, and str.

Referenced by QRegExpEngine::parseFactor().

void QRegExpEngine::Box::orx const Box b  ) 
 

void QRegExpEngine::Box::orx const Box b  ) 
 

Definition at line 2362 of file qregexp3.cpp.

References QRegExpEngine::anchorAlternation(), earlyStart, eng, lanchors, lateStart, leftStr, ls, maxl, mergeInto(), minl, QString::null, NumBadChars, occ1, ranchors, rightStr, rs, skipanchors, and str.

void QRegExpEngine::Box::plus int  atom  ) 
 

void QRegExpEngine::Box::plus int  atom  ) 
 

Definition at line 2388 of file qregexp3.cpp.

References addAnchorsToEngine(), QRegExpEngine::addCatTransitions(), QRegExpEngine::addPlusTransitions(), eng, InftyLen, ls, maxl, and rs.

void QRegExpEngine::Box::set int  bref  ) 
 

void QRegExpEngine::Box::set const CharClass cc  ) 
 

void QRegExpEngine::Box::set QChar  ch  ) 
 

void QRegExpEngine::Box::set int  bref  ) 
 

Definition at line 2277 of file qregexp3.cpp.

References QRegExpEngine::Anchor_BackRef0Empty, QRegExpEngine::createState(), eng, InftyLen, ls, QRegExpEngine::MaxBackRefs, maxl, minl, rs, and skipanchors.

void QRegExpEngine::Box::set const CharClass cc  ) 
 

Definition at line 2263 of file qregexp3.cpp.

References QRegExpEngine::createState(), eng, QRegExpEngine::CharClass::firstOccurrence(), ls, maxl, minl, occ1, and rs.

void QRegExpEngine::Box::set QChar  ch  ) 
 

Definition at line 2246 of file qregexp3.cpp.

References BadChar, QRegExpEngine::createState(), eng, leftStr, ls, maxl, minl, occ1, rightStr, rs, and str.

Referenced by QRegExpEngine::parse(), and QRegExpEngine::parseAtom().

void QRegExpEngine::Box::setupHeuristics  ) 
 

void QRegExpEngine::Box::setupHeuristics  ) 
 

Definition at line 2428 of file qregexp3.cpp.

References earlyStart, eng, QRegExpEngine::heuristicallyChooseHeuristic(), lateStart, minl, NoOccurrence, NumBadChars, occ1, QRegExpEngine::setupBadCharHeuristic(), QRegExpEngine::setupGoodStringHeuristic(), and str.

Referenced by QRegExpEngine::parse().


Member Data Documentation

int QRegExpEngine::Box::earlyStart [private]
 

Definition at line 1160 of file qregexp.cpp.

Referenced by cat(), operator=(), opt(), orx(), and setupHeuristics().

QRegExpEngine* QRegExpEngine::Box::eng [private]
 

Definition at line 1152 of file qregexp.cpp.

QRegExpEngine* QRegExpEngine::Box::eng [private]
 

Definition at line 1092 of file qregexp3.cpp.

Referenced by addAnchorsToEngine(), cat(), catAnchor(), clear(), operator=(), orx(), plus(), set(), and setupHeuristics().

QMap<int, int> QRegExpEngine::Box::lanchors [private]
 

Definition at line 1155 of file qregexp.cpp.

QMap<int, int> QRegExpEngine::Box::lanchors [private]
 

Definition at line 1095 of file qregexp3.cpp.

Referenced by cat(), operator=(), and orx().

int QRegExpEngine::Box::lateStart [private]
 

Definition at line 1161 of file qregexp.cpp.

Referenced by cat(), operator=(), opt(), orx(), and setupHeuristics().

QString QRegExpEngine::Box::leftStr [private]
 

Definition at line 1163 of file qregexp.cpp.

Referenced by cat(), operator=(), opt(), orx(), and set().

QMemArray<int> QRegExpEngine::Box::ls [private]
 

Definition at line 1153 of file qregexp.cpp.

QArray<int> QRegExpEngine::Box::ls [private]
 

Definition at line 1093 of file qregexp3.cpp.

Referenced by cat(), operator=(), orx(), plus(), and set().

int QRegExpEngine::Box::maxl [private]
 

Definition at line 1165 of file qregexp.cpp.

Referenced by cat(), operator=(), orx(), plus(), and set().

int QRegExpEngine::Box::minl [private]
 

Definition at line 1168 of file qregexp.cpp.

Referenced by Box(), cat(), catAnchor(), operator=(), opt(), orx(), set(), and setupHeuristics().

QMemArray<int> QRegExpEngine::Box::occ1 [private]
 

Definition at line 1170 of file qregexp.cpp.

QArray<int> QRegExpEngine::Box::occ1 [private]
 

Definition at line 1110 of file qregexp3.cpp.

Referenced by cat(), operator=(), orx(), set(), and setupHeuristics().

QMap<int, int> QRegExpEngine::Box::ranchors [private]
 

Definition at line 1156 of file qregexp.cpp.

QMap<int, int> QRegExpEngine::Box::ranchors [private]
 

Definition at line 1096 of file qregexp3.cpp.

Referenced by cat(), catAnchor(), operator=(), and orx().

QString QRegExpEngine::Box::rightStr [private]
 

Definition at line 1164 of file qregexp.cpp.

Referenced by cat(), operator=(), opt(), orx(), and set().

QMemArray<int> QRegExpEngine::Box::rs [private]
 

Definition at line 1154 of file qregexp.cpp.

QArray<int> QRegExpEngine::Box::rs [private]
 

Definition at line 1094 of file qregexp3.cpp.

Referenced by addAnchorsToEngine(), cat(), catAnchor(), operator=(), orx(), plus(), and set().

int QRegExpEngine::Box::skipanchors [private]
 

Definition at line 1157 of file qregexp.cpp.

Referenced by cat(), catAnchor(), operator=(), opt(), orx(), and set().

QString QRegExpEngine::Box::str [private]
 

Definition at line 1162 of file qregexp.cpp.

Referenced by cat(), operator=(), opt(), orx(), set(), and setupHeuristics().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:48:25 2005 for OPIE by  doxygen 1.4.2