Defines static, inline methods for returning specific regular expression character values. More...
#include <rw/tools/regex/defs.h>
Public Types | |
typedef T | Char |
Static Public Member Functions | |
static Char | a () |
static Char | A () |
static Char | b () |
static Char | B () |
static Char | blank () |
static Char | c () |
static Char | C () |
static Char | caret () |
static Char | cbracket () |
static Char | ccurly () |
static Char | comma () |
static Char | cparen () |
static Char | d () |
static Char | D () |
static Char | dash () |
static Char | dollar () |
static Char | dot () |
static Char | e () |
static Char | E () |
static Char | eight () |
static Char | escape () |
static Char | f () |
static Char | F () |
static Char | five () |
static Char | four () |
static Char | n () |
static Char | newline () |
static Char | nine () |
static Char | null () |
static Char | obracket () |
static Char | ocurly () |
static Char | one () |
static Char | oparen () |
static Char | plus () |
static Char | question () |
static Char | r () |
static Char | seven () |
static Char | six () |
static Char | star () |
static Char | t () |
static Char | three () |
static Char | two () |
static Char | u () |
static Char | vbar () |
static Char | x () |
static Char | zero () |
Class RWTRegexTraits 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.
typedef T RWTRegexTraits< T >::Char |
Typedef for the character type.
|
inlinestatic |
Returns 'a'
.
|
inlinestatic |
Returns 'A'
.
|
inlinestatic |
Returns 'b'
.
|
inlinestatic |
Returns 'B'
.
|
inlinestatic |
Returns ' '.
|
inlinestatic |
Returns 'c'
.
|
inlinestatic |
Returns 'C'
.
|
inlinestatic |
Returns '^'
.
|
inlinestatic |
Returns ']'
.
|
inlinestatic |
Returns '}'
.
|
inlinestatic |
Returns ','
.
|
inlinestatic |
Returns ')'
.
|
inlinestatic |
Returns 'd'
.
|
inlinestatic |
Returns 'D'
.
|
inlinestatic |
Returns '-'
.
|
inlinestatic |
Returns '$'
.
|
inlinestatic |
Returns '.'
.
|
inlinestatic |
Returns 'e'
.
|
inlinestatic |
Returns 'E'
.
|
inlinestatic |
Returns '8'
.
|
inlinestatic |
Returns '\'
.
|
inlinestatic |
Returns 'f'
.
|
inlinestatic |
Returns 'F'
.
|
inlinestatic |
Returns '5'
.
|
inlinestatic |
Returns '4'
.
|
inlinestatic |
Returns 'n'
.
|
inlinestatic |
Returns '\n'
.
|
inlinestatic |
Returns '9'
.
|
inlinestatic |
Returns '\0'
.
|
inlinestatic |
Returns '['
.
|
inlinestatic |
Returns '{'
.
|
inlinestatic |
Returns '1'
.
|
inlinestatic |
Returns '('
.
|
inlinestatic |
Returns '+'
.
|
inlinestatic |
Returns '
?'.
|
inlinestatic |
Returns 'r'
.
|
inlinestatic |
Returns '7'
.
|
inlinestatic |
Returns '6'
.
|
inlinestatic |
Returns '*'
.
|
inlinestatic |
Returns 't'
.
|
inlinestatic |
Returns '3'
.
|
inlinestatic |
Returns '2'
.
|
inlinestatic |
Returns 'u'
.
|
inlinestatic |
Returns '
|'.
|
inlinestatic |
Returns 'x'
.
|
inlinestatic |
Returns '0'
.
Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |