Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

EdmiError edmiGetRuleSchema (SdaiString     schemaName,
                             SdaiString     ruleSchemaName, 
                             SdaiRuleSchema *ruleSchemaId); 

Returns the ruleSchemaID that uniquely identifies an EDMruleSchema in the EDMdatabase.
EXPRESS:

ENTITY rule_schema;
  name                    : STRING; 
  constants               : SET OF user_constant; 
  types                   : SET OF rule_schema_defined_type; 
  entities                : SET OF rule_schema_entity; 
  functions               : SET OF rule_schema_function; 
  procedures              : SET OF rule_schema_procedure; 
  rules                   : SET OF rule_schema_rule; 
  uniqueness_rules        : SET OF rule_schema_uniqueness_rule; 
  used_built_in_functions : OPTIONAL SET OF INTEGER; 
  instances               : SET OF entity_instance; 
  schema_instance         : schema_instance; 
  global_variables        : OPTIONAL algorithm_head; 
  line_number             : INTEGER; 
  first_line              : INTEGER; 
  last_line               : INTEGER; 
END_ENTITY;                          


Arguments


TypeNameComment
SdaiString

schemaName

Specifies the name of the dictionary model (EXPRESS schema) that hosts the rule schema. This EXPRESS schema must exist as a dictionary model in the EDMdatabase . Schema names are case insensitive. Schema names are unique in an EDMdatabase .

SdaiString

ruleSchemaName

Specifies the name of rule schema of interest. Rule schema names are case insensitive. Rule schema names are unique in an EDMdatabase .

SdaiRuleSchema

*ruleSchemaId

Address of the variable that will receive the numeric ruleSchemaID that uniquely identifies the rule schema instance in the EDMdatabase .

Return Value


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

Options


 

Example


 

 SdaiRuleSchema ruleSchemaId;
 EdmiError rstat;
 . . .
 if (rstat = edmiGetRuleSchema ("ifc151",
 "WheelChairAccess", 
 &ruleSchemaId)) { 
 /* Error in operation */ 
 printf("\nError: %s in edmiGetRuleSchema\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 printf ("\nRuleSchemaId: %lu", ruleSchemaId);
 . . .

 

See also

Filter by label

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


 

  • No labels