...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiGetSchemaMap(SdaiString schemaMapName,
SdaiSchemaMap *schemaMapId);
|
Returns the numeric schemaMapID that uniquely identifies the schema_map_definition instance, i.e. the instance that defines the specified Express-X schema in the EDMdatabase. The schema_map_definition instance is located in the EXPRESS-X dictionary model that defines the specified Express-X schema in the EDMdatabase.
EXPRESS:
Code Block | ||||
---|---|---|---|---|
| ||||
ENTITY schema_map; |
...
name : STRING; entities : SET OF entity_definition; types : SET OF defined_type; global_rules : SET OF global_rule; user_constants : SET OF user_constant; user_functions : SET OF user_function; user_procedures : SET OF user_procedure; source_schemas : SET OF schema_instance; target_schema : schema_instance; map_declarations : LIST OF map; compose_declarations : LIST OF compose; statements_declarations : LIST OF statements; copy_model_declaration : OPTIONAL copy_model; global_variables : OPTIONAL algorithm_head; declarations : LIST OF DECLARATIONS; named_instances : SET OF instance; any_from_with_subtype : OPTIONAL BOOLEAN; |
...
used_built_in_functions : OPTIONAL SET OF INTEGER; |
...
END_ENTITY; |
...
|
Arguments
...
Type | Name | Comment |
SdaiString | schemaMapName | Specifies the name of Express-X schema of interest. This Express-X schema must exist as an EXPRESS-X dictionary model in the EDMdatabase. Express-X schema names are case insensitive. Express-X schema names are unique in an EDMdatabase. |
SdaiSchemaMap | schemaMapId | Address of the variable that will receive the numeric schemaMapID that uniquely identifies the schema_map_definition instance in the EDMdatabase that defines the specified Express-X schema. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
SdaiSchemaMap schemaMapId; EdmiError rstat; . . . if (rstat = edmiGetSchemaMap("PDM2MetaPhase", &schemaMapId)) { |
...
/* Error in operation */ |
...
printf("\nError: %s in edmiGetSchemaMap\n", |
...
edmiGetErrorText(rstat)); |
...
goto error; |
...
} printf ("\nSchemaMapId: %lu", schemaMapId); |
...
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|