File: class_qaregexp-include.html

package info (click to toggle)
regexplorer 0.1.3-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 332 kB
  • ctags: 222
  • sloc: cpp: 1,166; perl: 99; makefile: 45; sh: 32
file content (69 lines) | stat: -rw-r--r-- 3,511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<title>QaRegExp Include File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<center><a href="annotated.html">Compound list</a> &nbsp; <a href="files.html">File list</a> &nbsp; <a href="headers.html">Header files</a> &nbsp; <a href="functions.html">Compound Members</a> &nbsp; <a href="globals.html">File Members</a> &nbsp; 
</center><hr>
<h1>qaregexp.hpp</h1>
This is the verbatim text of the qaregexp.hpp include file.<hr><div class="fragment"><pre>// 
// $Id: qaregexp.hpp,v 1.7 1999/08/16 00:49:44 amos Exp $
//
// Definition of QaRegExp class
//
// Jan Borsodi &lt;amos@abn.hibu.no&gt;
// Created on: &lt;14-Jul-1999 19:14:57 amos&gt;
//

#ifndef QAREGEXP_HPP
#define QAREGEXP_HPP

#include "<a class="el" href="qaregexpmatch.hpp.html">qaregexpmatch.hpp</a>"
#include &lt;qstring.h&gt;
#include &lt;qstringlist.h&gt;
#include &lt;regex.h&gt;

class <a class="el" href="class_qaregexp.html">QaRegExp</a>
{
public:
    <a class="el" href="class_qaregexp.html#a1">QaRegExp</a>( const <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> &amp;r, bool c = true );
    <a class="el" href="class_qaregexp.html#a1">QaRegExp</a>( const <a class="el" href="class_qaregexp.html">QaRegExp</a> &amp;r );
    virtual ~QaRegExp();

    bool caseSensitive() const;
    void setCaseSensitive( bool s );

    bool match( const <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> &amp;s, int sub = 0 );
    int matchMultiple( const <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> &amp;s, int sub = 0 );
    <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> matchString( int sub = 0 );
    <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstringlist.html">QStringList</a> matchStrings();
    int matchBeginning( int sub = 0 ) const;
    int matchEnd( int sub = 0 ) const;
    const <a class="el" href="class_qaregexpmatch.html">QaRegExpMatch</a> &amp;matches() const;
    void split( const <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> &amp;s );
    int subCount() const;
    void setExpression( const <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> &amp;r );

    <a class="el" href="class_qaregexp.html">QaRegExp</a> &amp;operator =( const <a class="el" href="class_qaregexp.html">QaRegExp</a> &amp;r );

private:
    void compileRegExp();
    void setSubReg( bool b );

private:
    <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> RegString;
    <a class="el" doxygen="qt.tag:/usr/lib/qt/doc/" href="/usr/lib/qt/doc/qstring.html">QString</a> String;
    int Flags;
    bool Case;
    bool Subs;
    bool Alloced;
    regex_t RegComp;
    int NumSub;
    <a class="el" href="class_qaregexpmatch.html">QaRegExpMatch</a> Matches;
};


#endif // QAREGEXP_HPP
</div></pre><hr><address><small>Generated at Mon Aug 16 02:11:02 1999 for QaRegExp by <a href="http://www.stack.nl/~dimitri/doxygen/index.html"><img src="doxygen.gif" alt="doxygen" align=center border=0 width=118 height=53></a>&nbsp; written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy; 1997-1998</small></address>
</body>
</html>