BEGIN_PARSE_MAP

BEGIN_PARSE_MAP( theClass, baseClass )

Parameters

theClass

Specifies the name of the class that owns this parse map.

baseClass

Specifies the base class name of theClass. Must be a class derived from CHttpServer.

Remarks

Use the BEGIN_PARSE_MAP macro to begin the definition of your parse map.

When a client command is received by a CHttpServer object, the parse maps associate the command to its class member function and parameters. Only one parse map is created per CHttpServer object.

In the implementation (.CPP) file that defines the member functions for your class, start the parse map with the BEGIN_PARSE_MAP macro, add macro entries for each of your parse functions and properties, and complete the parse map with the END_PARSE_MAP macro.

See ON_PARSE_COMMAND for a parse map example.

See Also   ON_PARSE_COMMAND, ON_PARSE_COMMAND_PARAMS, DEFAULT_PARSE_COMMAND, END_PARSE_MAP, CHttpServer