edmiGetModelRepository

EdmiError edmiGetModelRepository(SdaiModel       model,
                                  SdaiRepository *repository); 

Returns the numeric repository ID that uniquely identifies the repository in the EDMdatabase that contains the specified model.

Arguments


TypeNameComment
SdaiModel

model

A numeric modelID that uniquely identifies the model of interest in the EDMdatabase. The modelID is returned from the functions: sdaiCreateModel , sdaiCreateModelBN , sdaiOpenModelBN , edmiGetModel , edmiGetModelBN , sdaiGetInstanceModel

SdaiRepository

repository

Address of the variable that will receive the numeric repository ID that uniquely identifies the repository in the EDMdatabase that contains the specified model.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

SdaiModel model;
 SdaiRepository repository;
 EdmiError rstat;
 . . .
 if (rstat = edmiGetModelRepository (model, &repository)) {
 /* Error in operation */ 
 printf("\nError: %s in edmiGetModelRepository\n", 
 edmiGetErrorText(rstat)); 
 goto error; 
 }
 printf ("\nModel: %lu is located in repository: %lu", model, repository);
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.