Click here to Skip to main content
12,695,624 members (26,135 online)
Click here to Skip to main content

Stats

306.5K views
4.7K downloads
103 bookmarked
Posted

Fast regular expressions

, 29 Oct 2000
Compiles a regular expression into a fast automaton.
// RexSearchDoc.h : Schnittstelle der Klasse CRexSearchDoc
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_REXSEARCHDOC_H__53F82FC9_84A6_11D4_86B1_E6C797000000__INCLUDED_)
#define AFX_REXSEARCHDOC_H__53F82FC9_84A6_11D4_86B1_E6C797000000__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "RexFileProcessor.h"

class CRexSearchDoc : public CDocument
{
protected: // Nur aus Serialisierung erzeugen
	CRexSearchDoc();
	DECLARE_DYNCREATE(CRexSearchDoc)

// Attribute
public:

// Operationen
public:

// �berladungen
	// Vom Klassenassistenten generierte �berladungen virtueller Funktionen
	//{{AFX_VIRTUAL(CRexSearchDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

// Implementierung
public:
	virtual ~CRexSearchDoc();

    virtual void OnIdle();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
    bool m_bRegistered;
    CRexFileProcessor m_rexFileProcessor;
// Generierte Message-Map-Funktionen
protected:
	//{{AFX_MSG(CRexSearchDoc)
		// HINWEIS - An dieser Stelle werden Member-Funktionen vom Klassen-Assistenten eingef�gt und entfernt.
		//    Innerhalb dieser generierten Quelltextabschnitte NICHTS VER�NDERN!
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ f�gt unmittelbar vor der vorhergehenden Zeile zus�tzliche Deklarationen ein.

#endif // !defined(AFX_REXSEARCHDOC_H__53F82FC9_84A6_11D4_86B1_E6C797000000__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Martin Holzherr
Switzerland Switzerland
No Biography provided

You may also be interested in...

Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170118.1 | Last Updated 30 Oct 2000
Article Copyright 2000 by Martin Holzherr
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid