Public Member Functions

zeus::TRegExp Class Reference

#include <RegExp.h>

Inheritance diagram for zeus::TRegExp:
zeus::IValueType

List of all members.

Public Member Functions

 TRegExp (const IString &rPattern)
 TRegExp (const wchar_t *pPattern)
virtual ~TRegExp ()
bool isMatching (const IString &rData) const
bool isMatching (const wchar_t *pData) const

Detailed Description

Regular expression class. Uses the boost wregex.


Constructor & Destructor Documentation

zeus::TRegExp::TRegExp ( const IString rPattern ) [inline]

creates a regular expression object

Parameters:
rPattern: Regular expression pattern
zeus::TRegExp::TRegExp ( const wchar_t *  pPattern ) [inline]

creates a regular expression object

Parameters:
pPattern: Regular expression pattern
zeus::TRegExp::~TRegExp (  ) [inline, virtual]

Destroys the regular expression object


Member Function Documentation

bool TRegExp::isMatching ( const IString rData ) const

Checks if the data matches to the regular expression

Parameters:
rData: Data to check
Return values:
true: Matches
false,:Could not match the expression
bool zeus::TRegExp::isMatching ( const wchar_t *  pData ) const [inline]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:40