Versions Compared

Key

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

...

  To be completed

Code Block
languagecpp
themeConfluence
EdmiError edmiWideCopyInstanceBN(SdaiInstance instanceId,
                                  SdaiModel    modelId, 
                                  SdaiInteger  options, 
                                  SdaiString   *INinclusiveExclusiveRecursive, 
                                  SdaiString   *INinclusiveExclusiveShallow,  
                                  SdaiString   *OUTinclusiveExclusiveRecursive, 
                                  SdaiString   *OUTinclusiveExclusiveShallow,  
                                  SdaiInstance *newInstanceId); 

The data model locating the source instance must be open for read access and the target data model must be open for write access, before this operation can be successfully performed.

...

Arguments

...

TypeNameComment
SdaiInstance

instanceId

A numeric instanceID that uniquely identifies the instance to be copied in the EDMdatabase.

SdaiModel

modelId

A numeric modelID that uniquely identifies the data model locating the target instance(s).
This target model must be a population of the same schema as the model that locates the <instanceId>.

SdaiInteger

options

Specifies the options to be used in the invocation of the edmiWideCopyInstanceBN function. The <options> value can be specified as a bitwise OR between the actual options to enable. All option names are defined on the header file sdai.h.
See detailed descriptions of the available options below.

SdaiString

INinclusiveExclusiveRecursive

 

SdaiString

INinclusiveExclusiveShallow

 

SdaiString

OUTinclusiveExclusiveRecursive

 

SdaiString

OUTinclusiveExclusiveShallow

 

SdaiInstance

newInstanceId

An address to a variable that will receive a numeric instanceID that will uniquely identify the created instance (target instance) in the EDMdatabase.

Options: Descriptions:

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

 OptionComment
1

INCLUDE_FILTER

 

2

EXCLUDE_FILTER

 

Example

...

Returns:  A completion code of datatype EdmiError is the returned function value. The completion code has the following values:
Completion code = 0: Operation successfully performed.
Completion code != 0: Error in operation. Completion code is an EDMinterface error code. Use edmiGetErrorText to get the error text corresponding to the error code.
EXAMPLE
EdmiError rstat;
SdaiInstance instanceId, newInstanceId;
SdaiModel modelId;
. . .

Code Block
languagecpp
 <example>

 

See also

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