edmiGetDefinedTypeBN

SdaiInstance edmiGetDefinedTypeBN(SdaiString schemaName,
                                   SdaiString typeName); 

Returns a numeric typeID that uniquely identifies a defined type instance in the EDMdatabase . The defined type is specified by the schema name and the defined type name. The specified Express schema must exist as a dictionary model in the EDMdatabase . The returned typeID can be used to identify the actual defined type in subsequent EDMinterface operations. The returned typeID will be a constant value throughout the lifetime of the actual defined type instance in the EDMdatabase. The dictionary model that holds the actual defined type instance must be open before this function can be successfully performed.

Arguments


TypeNameComment
SdaiString

schemaName

Specifies the name of the Express schema that defines the defined type of interest. This schema must exist as a dictionary model in the EDMdatabase. Schema names are case insensitive.

SdaiString

typeName

Specifies the name of the defined type of interest. A defined type name is unique within an Express schema, hence the combination of the arguments <schemaName> and <typeName> uniquely identifies a defined type instance in an EDMdatabase. Names of defined types are case insensitive.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 SdaiInstance typeId;
 . . .
 typeId = edmiGetDefinedTypeBN("PDM_Schema","Length_Measure");
 if (! typeId) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetDefinedTypeBN\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 printf("\ntypeId: %lu", typeId);
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

Â