Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiClassifyInstance(SdaiInstance id,
                                SdaiInteger *instanceClass)

This operation returns "classification information" about a given entity instance or a given aggregate instance.

...

The "classification information" is:

  • persistent, scratch or vm (EDMexpressVM) instance.
  • in case of aggregate: the kind of aggregate
  • kind of model that locates the instance

The actual model that locates the aggregate instance or entity instance to classify must be open before this operation can be successfully performed.

...

Arguments

...

TypeNameComment
SdaiInstance

id

A numeric instanceID or aggregateID that uniquely identifies the entity instance or aggregate instance to classify.

SdaiInteger

instanceClass

Address of a variable that receives the result of the operation. The result will be a bitwise OR of the following:
META_META_MODEL, DICTIONARY_MODEL, META_MODEL, SYSTEM_MODEL, SESSION_MODEL, DATA_MODEL, ARRAY_AGGREGATE, BAG_AGGREGATE, LIST_AGGREGATE, SET_AGGREGATE, PERSISTENT_INSTANCE, SCRATCH_INSTANCE, VM_INSTANCE, SUBTYPE_AGGREGATE, UNION_AGGREGATE
Note: DICTIONARY_MODEL and META_MODEL are two different names of exactly the same, i.e.,
  DICTIONARY_MODEL = META_MODEL

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
EdmiError rstat;
 SdaiInstance id;
 SdaiInteger instanceClass;
 . . .
 If (rstat = edmiClassifyInstance (id, &instanceClass)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiClassifyInstance\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 . . .

 

See also

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