Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetSchema(SdaiString schemaName,
                         SdaiSchema *schemaId); 

Returns the numeric schemaID that uniquely identifies the schema definition instance, i.e. the instance that defines the specified Express schema in the EDMdatabase. The schema definition instance is located in the dictionary model that defines the specified Express schema in the EDMdatabase.
EXPRESS:

...

Code Block
languagecpp
themeConfluence
ENTITY schema_definition;
   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; 
   interface_declarations  : LIST OF use_and_reference_from; 
   redeclared_attributes   : OPTIONAL SET OF attribute; 
   used_built_in_functions : OPTIONAL SET OF INTEGER; 
   rule_schemata           : OPTIONAL SET OF rule_schema; 
   query_schemata          : OPTIONAL SET OF query_schema; 
   short_form_schemata     : OPTIONAL SET OF STRING; 
   schema_not_debugable    : OPTIONAL BOOLEAN; 
END_ENTITY;        


Arguments

...

TypeNameComment
SdaiString

schemaName

Specifies the name of Express schema of interest. This Express schema must exist as a dictionary model in the EDMdatabase. Schema names are case insensitive. Schema names are unique in an EDMdatabase.

SdaiSchema

schemaId

Address of the variable that will receive the numeric schemaID that uniquely identifies the schema definition instance in the EDMdatabase that defines the specified Express schema.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 SdaiSchema schemaId;
 EdmiError rstat;
 . . .
 if (rstat = edmiGetSchema ("ifc151", &schemaId)) {

...


 /* Error in operation */

...

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

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 printf ("\nSchemaId: %lu", schemaId);

...


 . . .

 

See also

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