Sourceforge.net - The VCF's Project Host
   The VCF Website Home   |   Online Discussion Forums   |   Sourceforge.net Project Page   

VCF::Regex::Ascii Class Reference

Regex engine for Ascii text. More...

#include <RegExKit.h>

Inheritance diagram for VCF::Regex::Ascii:

VCF::Regex::Host VCF::Enumerator< Match > List of all members.

Public Member Functions

 Ascii (const String &expression, unsigned char *first, unsigned char *last, OnigSyntaxType *syntax=ONIG_SYNTAX_DEFAULT)
 Standard constructor.
 Ascii (const String &expression, const String &source, OnigSyntaxType *syntax=ONIG_SYNTAX_DEFAULT)
 Alternate constructor using a String to denote the search range.

Protected Member Functions

virtual int init ()
virtual unsigned int characterWidth (const ptrdiff_t &pos) const

Detailed Description

Regex engine for Ascii text.

After creating this object, always call compile() immediately.

See also:
Host


Constructor & Destructor Documentation

VCF::Regex::Ascii::Ascii const String expression,
unsigned char *  first,
unsigned char *  last,
OnigSyntaxType *  syntax = ONIG_SYNTAX_DEFAULT
 

Standard constructor.

It is the user's responsibility to ensure that the data in the search range remains valid for the lifetime of the Ascii object.

Parameters:
String Regular expression.
unsigned char* Beginning of search range.
unsigned char* End of search range.
OnigSyntaxType The regex syntax used to interpret the expression.

VCF::Regex::Ascii::Ascii const String expression,
const String source,
OnigSyntaxType *  syntax = ONIG_SYNTAX_DEFAULT
 

Alternate constructor using a String to denote the search range.

It is the user's responsibility to ensure that the String object remains valid for the lifetime of the Ascii object.

Parameters:
String Regular expression.
String Text to be searched.
OnigSyntaxType The regex syntax used to interpret the expression.


Member Function Documentation

virtual unsigned int VCF::Regex::Ascii::characterWidth const ptrdiff_t &  pos  )  const [inline, protected, virtual]
 

Implements VCF::Regex::Host.

virtual int VCF::Regex::Ascii::init  )  [protected, virtual]
 

Implements VCF::Regex::Host.


The documentation for this class was generated from the following file:
   Comments or Suggestions?    License Information