Versions Compared

Key

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

...

  To be completed (add example)

Code Block
languagecpp
themeConfluence
EdmiError edmiRemoteGetHashedAttrInstance(SdaiServerContext serverContextId,
                                            SdaiModel         modelId,         
                                            SdaiAttr          attrId,     
                                            SdaiString        attrStringValue, 
                                            SdaiInteger       attrIntegerValue,  
                                            SdaiInstance      *instance,      
                                            SdaiInvocationId  *edmiInvocationId);

Search the specified model for the instance with an attribute value equal to the specified attribute. If the instance is found, the function returns completion code equal to 0 and the instance id of the instance via the argument <instance>. If the instance is not found, the function returns completion code equal to 0 and 0 via the argument <instance>.

...

This function can only return one instance value. Therefore this function should not be used if the persistent attribute hash table is not unique.If no attribute hash table is defined for the specified attribute, no sequential search is performed and the function returns an error code.

...

Arguments

...

TypeNameComment
SdaiServerContext

serverContextId

Context identification, from edmiDefineServerContext

SdaiModel

modelId

The modelId that uniquely identifies the edmModel in the remote EDMdatabase.

SdaiAttr

attrId

A numeric attributeId that uniquely identifies the attribute in the remote _EDMdatabase_ .remote  EDMdatabase

SdaiString

attrStringValue

If the attribute is of <string type>, use this argument to specify the attribute value to search for.

SdaiInteger

attrIntegerValue

If the attribute is of <integer type>, use this argument to specify the attribute value to search for.

SdaiInstance

*instance

Address of the variable where the searched instance id is returned.

SdaiInvocationId

*edmiInvocationId

Currently not used.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 

 

See also

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