portTypeDefinitions element

Generates C constants for port types.

Usage

<portTypeDefinitions>
  child elements
</portTypeDefinitions>

Attributes

There are no attributes.

Child elements

Element Description
codeName
Specifies the name to be used for the port type in the generated code. By default, the code name is generated from the port type's qualified name.

eventStubFunction
Specifies whether stub function references should be included in the operation structures in the port type definitions for notification operations.

operation
Specifies an operation for which code is to be generated.

portType
Specifies the port type for which code is to be generated.

stubFunction
Specifies whether stub function references should be included in the operation structures in the port type definitions for one-way and two-way operations.

Child element sequence

(
  portType?, 
  operation*, 
  stubFunction?, 
  eventStubFunction?, 
  codeName?
)

Parent elements

Element Description
file
Outputs a file from the code generator.

Remarks

This element is generally used in C source files to provide the port type constants declared by portTypeDeclarations.

Element information

Label Value
Minimum supported system
Windows Vista
Can be empty Yes