cpiParserType

This optional function returns whether the parser is an implementation of a standard parser.

A standard parser expects the Format field of the preceding header to contain the name of the parser class that follows. Non-standard parsers expects the Domain field to contain the parser class name. If the cpiParserType implementation function is not provided, the integration node assumes that the parser is a standard parser.

Defined In Type Member
CPI_VFT Optional iFpParserType

Syntax

CciBool cpiParserType(
  CciParser*   parser,
  CciContext*  context);

Parameters

parser
The address of the parser object (input).
context
The address of the context owned by the parser object (input).

Return values

If the implementation is of a standard parser, zero is returned. Otherwise, the implementation is assumed to be that of a non-standard parser, nd a non-zero value is returned.