Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide

RWTRegexTraits<T>

Module:  Essential Tools Module   Group:  String Processing


Does not inherit

Local Index

Members

Synopsis

#include <rw/tools/regex.h>
#include <rw/cstring.h>
(Abstract base class. No instances are created.)

Description

Class RWTRegexTraits<T> defines static, inline methods for returning specific RE character values. These values must be defined and include

In addition, any class used as a traits class must define some special methods for converting and comparing characters.

Persistence

None

Example

This example identifies the char and RWDateTime specializations of RWTRegexTraits<T>.

Public Typedefs

typedef char Char;
typedef int IntType;

Public Constructors

None


NOTE -- All methods must be defined in a regular expression character traits class.

Static Public Member Functions

static inline void 
assign(char& x, const char& y);
static inline bool 
eq(const char& x, const char& y);
static inline bool 
lt(const char& x, const char& y);
static inline char 
to_char_type(const IntType& i);
static inline IntType 
to_Int_Type(const char& c);
static inline const Char    
null();
static inline const Char    
oparen(); 
static inline const Char  
cparen();
static inline const Char    
obracket();
static inline const Char    
cbracket();
static inline const Char    
ocurly();
static inline const Char    
ccurly();
static inline const Char    
dot();  
static inline const Char    
star();
static inline const Char    
plus(); 
static inline const Char    
question();
static inline const Char    
vbar();    
static inline const Char    
dash();    
static inline const Char    
comma();  
static inline const Char    
carat();
static inline const Char    
dollar();  
static inline const Char    
escape(); 
static inline const Char    
newline();
static inline const Char    
blank();
static inline const Char    
zero(); 
static inline const Char    
one();  
static inline const Char    
two();    
static inline const Char    
three();  
static inline const Char   
four();   
static inline const Char   
five();   
static inline const Char    
six();   
static inline const Char    
seven();  
static inline const Char    
eight();
static inline const Char   
nine();   
static inline const Char    
a();    
static inline const Char    
A();   
static inline const Char    
b();    
static inline const Char    
B();   
static inline const Char    
c();    
static inline const Char    
C();
static inline const Char    
d();
static inline const Char    
D();
static inline const Char    
e(); 
static inline const Char    
E();
static inline const Char    
f();
static inline const Char    
F();
static inline const Char    
n();
static inline const Char    
r();
static inline const Char    
t();
static inline const Char    
u();  
static inline const Char    
x();


Previous fileTop of DocumentContentsIndex pageNext file

©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.