Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
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

...


repositoryID
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

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"