P6R::p6IEnumSplitChunks Interface Reference

Given to an application as a result of a call to p6ISplit::split() or p6ISplit::explode(). More...

#include <p6split.h>

Inherits P6R::p6ICom.

List of all members.

Public Member Functions

virtual P6R::P6INT32 addref ()=0
 This method increases the reference count of the component instance by one.
virtual P6R::P6ERR next (P6UINT32 cElements, P6SPLITCHUNK *parElements, P6UINT32 *pcReturned)=0
 This method is used to iterate the parsed chunks from the original target string.
virtual P6R::P6ERR queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0
 This method queries the component for a specific interface.
virtual P6R::P6INT32 release ()=0
 This method decrements a components reference count.
virtual P6R::P6ERR reset ()=0
 This method is used to re-start the enumerator at the beginning.

Detailed Description

Given to an application as a result of a call to p6ISplit::split() or p6ISplit::explode().

This interface provides a powerful parsing aid. A regular expression is used to define delimitors. These delimitors can be one or more characters in length. The split functions return an enumerator that can be used to list out all the chunks of text that come both before and after each delimitor.

Definition at line 56 of file p6split.h.


The documentation for this interface was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.