Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetGlobalRule (SdaiInstance   schemaId,
                              SdaiString     globalRuleName, 
                              SdaiGlobalRule *globalRuleId); 

Returns the globalRuleId that uniquely identifies the specified global rule in an EDMdatabase. A global rule is defined in a dictionary model (Express schema) or in an EDMruleSchema. A global rule name is unique within the Express schema or the EDMruleSchema that defines the actual global rule.

...

The actual dictionary model that hold the global rule definition must be open before this operation can be successfully performed.

...

Arguments

...

TypeNameComment
SdaiInstance

schemaId

A schemaID that uniquely identifies the dictionary model (Express schema) that defines the actual global rule, or a ruleSchemaID that uniquely identifies the EDMruleSchema that defines the actual global rule.

SdaiString

globalRuleName

The name of the global rule of interest. Global rule names are case insensitive. A global rule name are unique within the Express schema or the EDMruleSchema that defines the actual global rule.

SdaiGlobalRule

globalRuleId

Address of a variable that will receive the globalRuleId that uniquely identifies a global rule in an EDMdatabase.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 <SdaiInstance schemaId;
 EdmiError rstat;
 SdaiGlobalRule globalRuleId;
 . . .
 if (rstat = edmiGetGlobalRule (schemaId, 
 "compatible_dimension",

...


 &globalRuleId)) {

...


 /* Error in operation */

...

 
 printf("\nError: %s in edmiGetGlobalRule \n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 printf("\nGlobalRuleId: %lu", globalRuleId);

...


 . . . 

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"