13 #define P6WSPLIT_H__ 1
85 #define IF_p6IEnumWSplitChunks {0xd789c4b9,0x4818,0x4e94,{0xad,0x5a,0x9b,0x47,0x60,0x8b,0xe4,0x70}}
187 #define IF_p6IWSplit {0x148cdf2,0xe5f4,0x4067,{0x97,0xd0,0xf4,0xcd,0x43,0x7f,0xb1,0x8}}
190 #define COMP_p6WSplit {0x9b16b3ad,0x3fe5,0x4c74,{0x96,0xa9,0x50,0x67,0x44,0x4b,0x8e,0xbd}}
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
virtual P6R::P6ERR initialize(P6WSPLITFLAGS flags)=0
This function ensures that this object is in its proper initial state.
virtual P6R::P6ERR next(P6UINT32 cElements, P6WSPLITCHUNK *parElements, P6UINT32 *pcReturned)=0
This method is used to iterate the parsed chunks from the original target string. ...
Given to an application as a result of a call to p6IWSplit::split() or p6IWSplit::explode().
virtual P6R::P6ERR explode(const P6WCHAR *pDelimiter, const P6WCHAR *pString, P6UINT32 limit, p6IEnumWSplitChunks **ppEnum)=0
Similar to the PHP explode() function.
virtual P6R::P6ERR setLocale(const P6CHAR *pLocale)=0
This method allows the caller to set the locale that will be used during split and explode calls...
Interface definition for the Wide Character Regular Expression Engine.
virtual P6R::P6ERR split(const P6WCHAR *pRegex, P6WREGEXMODIFIER modifiers, const P6WCHAR *pTargetStr, P6UINT32 chunkLimit, p6IEnumWSplitChunks **ppEnum)=0
A wide character split parsing funtion.
wchar_t P6WCHAR
Wide character type see p6i18n.h.
The base interface all [p6]COM components must derive from and implement.
P6COM base interface definitions.
P6UINT32 P6WREGEXMODIFIER
P6WREGEXMODIFIER: Regex Modifier.
This interface provides a wide version of a simplified version of Perl's Split function.
Each chunk is defined as an offset into the orginal target string and a length of that chunk...
const P6WSPLITFLAGS P6WSPLIT_NOFLAGS
P6UINT32 P6WSPLITFLAGS
P6WSPLITFLAGS.
char P6CHAR
Narrow character type.