Synopsis
PDX_MSGT map_DefineGenericMappings(long option, MAP_TABLE *table, DDF *ddf)
Purpose
Generate generic mappings for a given DDF.
Description
The generic mappings provided by the map subsystem will be added to table. The types of mappings to define are specified by the option argument and are generated for each entity defined in ddf. The options and corresponding mappings are shown in the following table:
.RS 5 .TS tab (/); l l . Option /Generated mappings _ MAP_GENERIC_COPY /"entity_name copy" MAP_GENERIC_IGNORE /"entity_name ignore" .TE .RE
Where entity_name is the name of the entity in the DDF. This mapping can then be enabled in the same way as any other mapping. For example, if an entity was named "ASYS_POLYLINE", the generic copy mapping name would be "asys_polyline copy" (note the case change).
The MAP_GENERIC_ALL option causes all generic mappings to be defined.
Input
option
MAP_GENERIC_ALL
Defines all generic mappings.
MAP_GENERIC_COPY
See table in description.
MAP_GENERIC_IGNORE
See table in description.
table
Mapping table to define the mapping in
ddf
DDF to define generic mappings for
Return
MAP error code