Skip to content

GET_INTERREF_TYPE ​

GET_INTERREF_TYPE returns the parameter type, which is "model" if the attribute specified in attrid contains model references, or "instance" if the attribute contains references to modeling instances.

Syntax ​

leo-grammar
CC "Core" GET_INTERREF_TYPE attrid:idValue.


#-->RESULT ecode:intValue type:Type
CC "Core" GET_INTERREF_TYPE attrid:idValue.


#-->RESULT ecode:intValue type:Type
leo-grammar
Type :	"model" | "instance" .
Type :	"model" | "instance" .

Parameters ​

  • attrid (idValue) -

Returns ​

  • ecode (intValue) - contains the error code or is 0 in case of success.
  • type (strValue) - returns either "model" or "instance", based on the provided interref

Details ​

See Also ​

Examples ​

Versions and Changes ​

Available since ADOxx 1.3