Export (0) Print
Expand All
MFC
TRY
Expand Minimize

BEGIN_PARSE_MAP 

Begins the definition of your 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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft