version 1.5, 2006/01/30 16:16:39
|
version 1.6, 2008/11/21 05:20:57
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Dan Gorey (djgorey@us.ibm.com) |
|
// |
|
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
#ifndef Pegasus_CQLRegularExpression_h | #ifndef Pegasus_CQLRegularExpression_h |
#define Pegasus_CQLRegularExpression_h | #define Pegasus_CQLRegularExpression_h |
|
|
#ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES | #ifdef PEGASUS_USE_EXPERIMENTAL_INTERFACES |
| |
#include <Pegasus/CQL/Linkage.h> | #include <Pegasus/CQL/Linkage.h> |
|
#include <Pegasus/Common/String.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class String; |
|
|
|
class PEGASUS_CQL_LINKAGE CQLRegularExpression | class PEGASUS_CQL_LINKAGE CQLRegularExpression |
{ | { |
public: | public: |
CQLRegularExpression(); |
CQLRegularExpression(const String& pattern); |
~CQLRegularExpression(); | ~CQLRegularExpression(); |
| |
Boolean match(const String& string, const String& pattern); |
Boolean match(const String& string); |
| |
private: | private: |
|
String pattern; |
| |
}; | }; |
| |