Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
SdaiBoolean edmiIsVolatileInstance (SdaiAppInstance currInst);

Checks if the specified instance is a volatile instance. Volatile instances are created by the EDMexpressVM as result of reading a Derive attribute, invoking an EDMquery function or running other "programs" in EDMexpressVM.

...

  Volatile instances are never persistent in an EDMdatabase.

...

In this operation an instance means both entity instance and aggregate instance.

...

Arguments

...

TypeNameComment
SdaiAppInstancecurrInstSpecifies a numeric instanceID that uniquely identifies an application instance in the EDMdatabase.

...

Return Value

...

TypeComment
 SdaiBoolean sdaiTRUE when the instance is a volatile one, otherwise sdaiFALSE.

...

Options

...

 

Example

...

 

Code Block
languagecpp
 SdaiAppInstance currInst;
 SdaiBoolean isVolatile;
 . . .
 isVolatile = edmiIsVolatileInstance(currInst);

...


 if (isVolatile == sdaiTRUE) {

...


 printf("\nInstance: %lu is a volatile instance", currInst);

...

 
 } else {

...


 printf("\nInstance: %lu is not a volatile instance", currInst);

...

 
 }
 . . .

 

See also

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