CRgProcessor::Compile

boolCRgProcessor::Compile(void)

Performs optimization steps that are required for processing data efficiently. Call after you change the processor in any manner. Usually you will only need to call this once if you have a statically defined processor (defined in the Initialize function as with the deals sample). With this release a statically defined parser is the recommended way to use the  CRgProcessor class. After calling Compile you can call  ProcessData to process any text stream and extract tokens.

Compilation will clear the dirty flag that is set when states are added or changed. Please refer  CRgChange for more information on dirty states.

Defined in: rgprocess.cpp

See Also

ProcessData

CRgProcessor

CRgChange