rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWTRegexTraits< T > Class Template Reference
[String Processing]

Defines static, inline methods for returning specific regular expression character values. More...

#include <rw/tools/regex/defs.h>

List of all members.

Public Types

typedef T Char

Static Public Member Functions

static Char null ()
static Char oparen ()
static Char cparen ()
static Char obracket ()
static Char cbracket ()
static Char ocurly ()
static Char ccurly ()
static Char dot ()
static Char star ()
static Char plus ()
static Char question ()
static Char vbar ()
static Char dash ()
static Char comma ()
static Char caret ()
static Char dollar ()
static Char escape ()
static Char newline ()
static Char blank ()
static Char zero ()
static Char one ()
static Char two ()
static Char three ()
static Char four ()
static Char five ()
static Char six ()
static Char seven ()
static Char eight ()
static Char nine ()
static Char a ()
static Char A ()
static Char b ()
static Char B ()
static Char c ()
static Char C ()
static Char d ()
static Char D ()
static Char e ()
static Char E ()
static Char f ()
static Char F ()
static Char x ()
static Char u ()
static Char n ()
static Char r ()
static Char t ()

Detailed Description

template<class T>
class RWTRegexTraits< T >

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.

Synopsis

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

Persistence

None


Member Typedef Documentation

template<class T>
typedef T RWTRegexTraits< T >::Char

Typedef for the character type.


Member Function Documentation

template<class T>
static Char RWTRegexTraits< T >::A (  )  [inline, static]

Returns 'A'.

template<class T>
static Char RWTRegexTraits< T >::a (  )  [inline, static]

Returns 'a'.

template<class T>
static Char RWTRegexTraits< T >::B (  )  [inline, static]

Returns 'B'.

template<class T>
static Char RWTRegexTraits< T >::b (  )  [inline, static]

Returns 'b'.

template<class T>
static Char RWTRegexTraits< T >::blank (  )  [inline, static]

Returns ' '.

template<class T>
static Char RWTRegexTraits< T >::C (  )  [inline, static]

Returns 'C'.

template<class T>
static Char RWTRegexTraits< T >::c (  )  [inline, static]

Returns 'c'.

template<class T>
static Char RWTRegexTraits< T >::caret (  )  [inline, static]

Returns '^'.

template<class T>
static Char RWTRegexTraits< T >::cbracket (  )  [inline, static]

Returns ']'.

template<class T>
static Char RWTRegexTraits< T >::ccurly (  )  [inline, static]

Returns '}'.

template<class T>
static Char RWTRegexTraits< T >::comma (  )  [inline, static]

Returns ',' .

template<class T>
static Char RWTRegexTraits< T >::cparen (  )  [inline, static]

Returns ')'.

template<class T>
static Char RWTRegexTraits< T >::D (  )  [inline, static]

Returns 'D'.

template<class T>
static Char RWTRegexTraits< T >::d (  )  [inline, static]

Returns 'd'.

template<class T>
static Char RWTRegexTraits< T >::dash (  )  [inline, static]

Returns '-'.

template<class T>
static Char RWTRegexTraits< T >::dollar (  )  [inline, static]

Returns '$'.

template<class T>
static Char RWTRegexTraits< T >::dot (  )  [inline, static]

Returns '.'.

template<class T>
static Char RWTRegexTraits< T >::E (  )  [inline, static]

Returns 'E'.

template<class T>
static Char RWTRegexTraits< T >::e (  )  [inline, static]

Returns 'e'.

template<class T>
static Char RWTRegexTraits< T >::eight (  )  [inline, static]

Returns '8'.

template<class T>
static Char RWTRegexTraits< T >::escape (  )  [inline, static]

Returns '\'.

template<class T>
static Char RWTRegexTraits< T >::F (  )  [inline, static]

Returns 'F'.

template<class T>
static Char RWTRegexTraits< T >::f (  )  [inline, static]

Returns 'f'.

template<class T>
static Char RWTRegexTraits< T >::five (  )  [inline, static]

Returns '5'.

template<class T>
static Char RWTRegexTraits< T >::four (  )  [inline, static]

Returns '4'.

template<class T>
static Char RWTRegexTraits< T >::n (  )  [inline, static]

Returns 'n'.

template<class T>
static Char RWTRegexTraits< T >::newline (  )  [inline, static]

Returns '\n'.

template<class T>
static Char RWTRegexTraits< T >::nine (  )  [inline, static]

Returns '9'.

template<class T>
static Char RWTRegexTraits< T >::null (  )  [inline, static]

Returns '\0'.

template<class T>
static Char RWTRegexTraits< T >::obracket (  )  [inline, static]

Returns '['.

template<class T>
static Char RWTRegexTraits< T >::ocurly (  )  [inline, static]

Returns '{'.

template<class T>
static Char RWTRegexTraits< T >::one (  )  [inline, static]

Returns '1'.

template<class T>
static Char RWTRegexTraits< T >::oparen (  )  [inline, static]

Returns '('.

template<class T>
static Char RWTRegexTraits< T >::plus (  )  [inline, static]

Returns '+'.

template<class T>
static Char RWTRegexTraits< T >::question (  )  [inline, static]

Returns '?'.

template<class T>
static Char RWTRegexTraits< T >::r (  )  [inline, static]

Returns 'r'.

template<class T>
static Char RWTRegexTraits< T >::seven (  )  [inline, static]

Returns '7'.

template<class T>
static Char RWTRegexTraits< T >::six (  )  [inline, static]

Returns '6'.

template<class T>
static Char RWTRegexTraits< T >::star (  )  [inline, static]

Returns '*'.

template<class T>
static Char RWTRegexTraits< T >::t (  )  [inline, static]

Returns 't'.

template<class T>
static Char RWTRegexTraits< T >::three (  )  [inline, static]

Returns '3'.

template<class T>
static Char RWTRegexTraits< T >::two (  )  [inline, static]

Returns '2'.

template<class T>
static Char RWTRegexTraits< T >::u (  )  [inline, static]

Returns 'u'.

template<class T>
static Char RWTRegexTraits< T >::vbar (  )  [inline, static]

Returns '|'.

template<class T>
static Char RWTRegexTraits< T >::x (  )  [inline, static]

Returns 'x'.

template<class T>
static Char RWTRegexTraits< T >::zero (  )  [inline, static]

Returns '0'.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, 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.