CRgSubState Class

class CRgSubState: public CRgChange

Class that defines the component parts of a state. Each state in the scanner is composed of several sub states. Each sub state is nothing but a regular expression with some additional state information.

You can add any number of sub states within each state. Each of these sub states will be OR'd (combined) with the others to create a composite expression for that state. Inherits from CRgChange for dirty state management

Operations on this class may cause a CRgSubStateException exception to be thrown. This class derives from exception.

Defined in: rgsubstate.h

enum

Standard state/token flags

Class Members

Creation/Initialization

CRgSubState(RGTOKENID tokenid, LPCTSTR lpszExpression, RGSTATEID stateid = -1 )

Constructs a CRgSubState object. Usually created with the rg_sub_state macro.