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

VCF::RegExKit Class Reference

#include <RegExKit.h>

List of all members.

Public Types

enum  Syntax {
  sDefault = 0, sASIS, sBasicPosix, sExtendedPosix,
  sEmacs, sGrep, sGnu, sJava,
  sPerl, sPerlNG, sRuby
}

Static Public Member Functions

static void init (int argc, char **argv)
static void terminate ()
static Syntax setDefaultSyntax (const Syntax &syntax)
 Sets the syntax selected automatically by the RegExKit if host objects are constructed with the sDefault syntax.
static Syntax getDefaultSyntax ()
 Determines which syntax the RegEx uses by default.


Member Enumeration Documentation

enum VCF::RegExKit::Syntax
 

Enumerator:
sDefault 
sASIS 
sBasicPosix 
sExtendedPosix 
sEmacs 
sGrep 
sGnu 
sJava 
sPerl 
sPerlNG 
sRuby 


Member Function Documentation

static Syntax VCF::RegExKit::getDefaultSyntax  )  [static]
 

Determines which syntax the RegEx uses by default.

This can be changed by setDefaultSyntax.

Returns:
Syntax the current default syntax

static void VCF::RegExKit::init int  argc,
char **  argv
[static]
 

static Syntax VCF::RegExKit::setDefaultSyntax const Syntax syntax  )  [static]
 

Sets the syntax selected automatically by the RegExKit if host objects are constructed with the sDefault syntax.

The initial default is sRuby.

Parameters:
Syntax the regex syntax to make default, passing sDefault as this argument will result in this function doing nothing
Returns:
Syntax the previous default syntax

static void VCF::RegExKit::terminate  )  [static]
 


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