...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment |
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: |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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) | ||||||
---|---|---|---|---|---|---|
|