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

QRegExpEngine::CharClass Class Reference

Collaboration diagram for QRegExpEngine::CharClass:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CharClass ()
 CharClass (const CharClass &cc)
CharClassoperator= (const CharClass &cc)
void clear ()
bool negative () const
void setNegative (bool negative)
void addCategories (int cats)
void addRange (ushort from, ushort to)
void addSingleton (ushort ch)
bool in (QChar ch) const
const QArray< int > & firstOccurrence () const
 CharClass ()
 CharClass (const CharClass &cc)
CharClassoperator= (const CharClass &cc)
void clear ()
bool negative () const
void setNegative (bool negative)
void addCategories (int cats)
void addRange (ushort from, ushort to)
void addSingleton (ushort ch)
bool in (QChar ch) const
const QMemArray< int > & firstOccurrence () const

Private Attributes

int c
QArray< Ranger
bool n
QArray< int > occ1
QMemArray< Ranger
QMemArray< int > occ1

Classes

struct  Range

Constructor & Destructor Documentation

QRegExpEngine::CharClass::CharClass  ) 
 

Definition at line 2113 of file qregexp3.cpp.

QRegExpEngine::CharClass::CharClass const CharClass cc  )  [inline]
 

Definition at line 812 of file qregexp3.cpp.

References operator=().

QRegExpEngine::CharClass::CharClass  ) 
 

QRegExpEngine::CharClass::CharClass const CharClass cc  )  [inline]
 

Definition at line 867 of file qregexp.cpp.

References operator=().


Member Function Documentation

void QRegExpEngine::CharClass::addCategories int  cats  ) 
 

void QRegExpEngine::CharClass::addCategories int  cats  ) 
 

Definition at line 2148 of file qregexp3.cpp.

References c, firstOccurrenceAtZero, and occ1.

Referenced by QRegExpEngine::getEscape().

void QRegExpEngine::CharClass::addRange ushort  from,
ushort  to
 

void QRegExpEngine::CharClass::addRange ushort  from,
ushort  to
 

Definition at line 2156 of file qregexp3.cpp.

References firstOccurrenceAtZero, n, NumBadChars, occ1, qSwap(), and r.

Referenced by addSingleton(), QRegExpEngine::getEscape(), and QRegExpEngine::getToken().

void QRegExpEngine::CharClass::addSingleton ushort  ch  )  [inline]
 

Definition at line 876 of file qregexp.cpp.

References addRange().

void QRegExpEngine::CharClass::addSingleton ushort  ch  )  [inline]
 

Definition at line 821 of file qregexp3.cpp.

References addRange().

Referenced by QRegExpEngine::getToken().

void QRegExpEngine::CharClass::clear  ) 
 

void QRegExpEngine::CharClass::clear  ) 
 

Definition at line 2133 of file qregexp3.cpp.

References c, FALSE, n, and r.

Referenced by QRegExpEngine::getToken().

const QMemArray<int>& QRegExpEngine::CharClass::firstOccurrence  )  const [inline]
 

Definition at line 880 of file qregexp.cpp.

References occ1.

const QArray<int>& QRegExpEngine::CharClass::firstOccurrence  )  const [inline]
 

Definition at line 825 of file qregexp3.cpp.

References occ1.

Referenced by QRegExpEngine::Box::set().

bool QRegExpEngine::CharClass::in QChar  ch  )  const
 

bool QRegExpEngine::CharClass::in QChar  ch  )  const
 

Definition at line 2185 of file qregexp3.cpp.

References BadChar, c, n, NoOccurrence, occ1, and r.

Referenced by QRegExpEngine::matchHere().

bool QRegExpEngine::CharClass::negative  )  const [inline]
 

Definition at line 872 of file qregexp.cpp.

References n.

bool QRegExpEngine::CharClass::negative  )  const [inline]
 

Definition at line 817 of file qregexp3.cpp.

References n.

Referenced by QRegExpEngine::matchHere().

CharClass& QRegExpEngine::CharClass::operator= const CharClass cc  ) 
 

QRegExpEngine::CharClass & QRegExpEngine::CharClass::operator= const CharClass cc  ) 
 

Definition at line 2121 of file qregexp3.cpp.

References c, n, occ1, and r.

Referenced by CharClass().

void QRegExpEngine::CharClass::setNegative bool  negative  ) 
 

void QRegExpEngine::CharClass::setNegative bool  negative  ) 
 

Definition at line 2140 of file qregexp3.cpp.

References firstOccurrenceAtZero, n, and occ1.

Referenced by QRegExpEngine::getToken().


Member Data Documentation

int QRegExpEngine::CharClass::c [private]
 

Definition at line 898 of file qregexp.cpp.

Referenced by addCategories(), clear(), in(), and operator=().

bool QRegExpEngine::CharClass::n [private]
 

Definition at line 900 of file qregexp.cpp.

Referenced by addRange(), clear(), in(), negative(), operator=(), and setNegative().

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

Definition at line 902 of file qregexp.cpp.

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

Definition at line 847 of file qregexp3.cpp.

Referenced by addCategories(), addRange(), firstOccurrence(), in(), operator=(), and setNegative().

QMemArray<Range> QRegExpEngine::CharClass::r [private]
 

Definition at line 899 of file qregexp.cpp.

QArray<Range> QRegExpEngine::CharClass::r [private]
 

Definition at line 844 of file qregexp3.cpp.

Referenced by addRange(), clear(), in(), and operator=().


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