...
Code Block | ||||
---|---|---|---|---|
| ||||
EdmiError edmiDeleteInstanceContainerBN (SdaiModel modelId,
SdaiString containerName);
|
Deletes an instance container identified by its name and the modelId. Only empty containers may be deleted. Use edmiEmptyInstanceContainer to remove all the contained instances. This function may not be used unless the container was assigned a name when it was created. I no name was assigned, use edmiDeleteInstanceContainer. Related functions: edmiCreateInstanceContainer, edmiDeleteInstanceContainer, edmiEmptyContainer, edmiEmptyContainerBN, edmiGetInstanceContainerId, edmiGetInstanceContainers, edmiSetContainerCheckedout, edmiSetContainerCheckedoutBN, edmiUnsetContainerCheckedout, edmiUnsetContainerCheckedoutBN, edmiInstanceToContainer, edmiInstanceToContainerBN, edmiInstancesToContainer, edmiInstancesToContainerBN.
Header:
#include "sdai.h"
Prototype:
EdmiError edmiDeleteInstanceContainerBN (SdaiModel modelId,
SdaiString containerName);
Arguments:
Arguments
...
Type | Name | Comment |
SdaiModel | modelId | modelId that uniquely identifies the edmModel in the EDMdatabase. |
SdaiString | containerName | The optional name that was assigned to the instance container when it was created. |
...
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
EdmiError rstat; SdaiModel modelId; . . . if (rstat = edmiDeleteInstanceContainerBN(modelId, "myContainer")) { |
...
printf("\nError %d in edmiDeleteInstanceContainerBN: %s", rstat, |
...
edmiGetErrorText(rstat)); |
...
goto err; |
...
}
. . . |
See also
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|