ajax.h
上传用户:kalinte
上传日期:2013-04-07
资源大小:127k
文件大小:0k
- // ajax
- #include <afxtempl.h>
- struct CHAR_RANGE{
- BYTE byStart;
- BYTE byEnd;
- };
- #define STATE_START 1
- #define STATE_END 2
- struct DFA_STATE{
- DWORD nFlag;
- };
- typedef CArray<DFA_STATE, DFA_STATE&> StateArray;
- #define ROUTE_BUF_LEN 4
- class CStateChangeRule
- {
- public:
- void Clear();
- CStateChangeRule();
- ~CStateChangeRule();
- int nCurState;
- int nNextState;
- CHAR_RANGE route[ROUTE_BUF_LEN];
- };
- typedef CArray <CStateChangeRule, CStateChangeRule&> StateChangeRuleArray;