6#ifndef _ZFI_ZFProtocolZFRegExp_h_
7#define _ZFI_ZFProtocolZFRegExp_h_
27 ,
ZF_IN void *nativeRegExp
#define ZFLIB_ZFAlgorithm
used to export symbols
Definition ZFAlgorithmDef.h:14
_ZFT_t_zfchar zfchar
char wrapper
Definition ZFCoreTypeDef_CharType.h:17
#define zfpurevirtual
dummy macro shows that a method is pure virtual method
Definition ZFCoreTypeDef_ClassType.h:68
#define ZF_IN
dummy macro that shows the param used as required input
Definition ZFCoreTypeDef_ClassType.h:180
#define ZF_IN_OPT
dummy macro that shows the param used as optional input
Definition ZFCoreTypeDef_ClassType.h:184
#define ZF_OUT
dummy macro that shows the param used as required output
Definition ZFCoreTypeDef_ClassType.h:188
_ZFT_t_zfindex zfindex
similar to size_t, used for index and size only
Definition ZFCoreTypeDef_CoreType.h:154
#define zfindexMax()
(zfindex)-1, indicate a max index value, see zfindex
Definition ZFCoreTypeDef_CoreType.h:159
zft_zfstring< zfchar > zfstring
see zft_zfstring
Definition ZFCoreTypeDef_StringType.h:15
#define ZF_NAMESPACE_GLOBAL_BEGIN
begin namespace ZFFramework
Definition ZFNamespace.h:97
#define ZF_NAMESPACE_GLOBAL_END
end namespace ZFFramework
Definition ZFNamespace.h:98
protocol definitions for ZFFramework
#define ZFPROTOCOL_INTERFACE_END(ModuleName)
for more information, please refer to ZFPROTOCOL_INTERFACE_BEGIN
Definition ZFProtocol.h:414
#define ZFPROTOCOL_INTERFACE_BEGIN(ZFLIB_, ModuleName)
declare a protocol interface for ZFFramework
Definition ZFProtocol.h:408
virtual void nativeRegExpDestroy(ZFRegExp *regExp, void *nativeRegExp)=0
destroy a native reg exp
virtual zfindex namedGroupIndexForName(ZFRegExp *regExp, const zfchar *name)=0
see ZFRegExp::namedGroupIndexForName
virtual void replace(ZFRegExp *regExp, zfstring &ret, ZFRegExpResult &result, const zfchar *replacePattern, const zfchar *src, zfindex srcLength=((zfindex) -1), zfindex maxReplaceCount=((zfindex) -1))=0
see ZFRegExp::replace
virtual void pattern(ZFRegExp *regExp, const zfchar *pattern, ZFRegExpOptionFlags flag=ZFRegExpOptionFlags::EnumDefault())=0
see ZFRegExp::pattern
virtual void * nativeRegExpCreate(ZFRegExp *regExp)=0
create a native reg exp
virtual void find(ZFRegExp *regExp, ZFRegExpResult &result, const zfchar *src, zfindex srcLength=((zfindex) -1))=0
see ZFRegExp::find
regular expression utils
Definition ZFRegExp.h:144
see v_ZFRegExpOption, ZFRegExpOptionFlagsToString, ZFRegExpOptionFlagsFromString
Definition ZFRegExp.h:54
static zfuint EnumDefault(void)
default value for ZFRegExpOptionFlags
Definition ZFRegExp.h:54
match result info for ZFRegExp
Definition ZFRegExp.h:61