CRgProcessor::CRgProcessor

CRgProcessor::CRgProcessor(CRgState*pState)

Constructor for the CRgProcessor object This class holds all the state (and sub state) information. This class takes care of setting up these (state) structures to perform the actual scan. It drives the actual scan process. It also mantains listeners that are informed when a scan event takes place.

This class cannot be directly instantiated. You will have to derive from this class and implement the required Initialize override.

Please refer to the deals sample under Samples\Toolkit\Standard\Utility\regex\deals for more information on how this class is typically used.

The string class that is to be used with this class is CRgString. This is a typedef for std::string or std::wstring as shown below:

#ifndef _UNICODE typedef std::string CRgString; #else typedef std::wstring CRgString; #endif //!_UNICODE

Defined in: rgprocess.cpp

Parameters

pState

This state will be used as the state with which processing will start.

See Also

CRgState

CRgSubState

CRgDefListener NULL*/)