sdaiFindInstanceUsedInBN

The function returns the identifiers of all the entity instances in the defined domain that reference the specified entity instance by the specified attribute (with roleName). Technically sdaiFindInstanceUsedInBN will transform into the following call sdaiFindInstanceUsedIn( instance, sdaiGetAttrDefinition( sdaiGetInstanceType( instance ), roleName ), domain, resultList );

Syntax

//
//   Strong typing definition
//
SdaiNPL         sdaiFindInstanceUsedInBN(
                        SdaiInstance            instance,
                        SdaiString              roleName,
                        SdaiNPL                 domain,
                        SdaiNPL                 resultList
                    );

static  inline  SdaiNPL sdaiFindInstanceUsedInBN(
                                SdaiInstance            instance,
                                char                    * roleName,
                                SdaiNPL                 domain,
                                SdaiNPL                 resultList
                            )
{
    return  sdaiFindInstanceUsedInBN(
                    instance,
                    (SdaiString) roleName,
                    domain,
                    resultList
                );
}


//
//   Weak typing definition
//
void    __declspec(dllexport) * __stdcall   sdaiFindInstanceUsedInBN(
                                                    int_t                   instance,
                                                    const char              * roleName,
                                                    void                    * domain,
                                                    void                    * resultList
                                                );

static  inline  void    * sdaiFindInstanceUsedInBN(
                                int_t                   instance,
                                char                    * roleName,
                                void                    * domain,
                                void                    * resultList
                            )
{
    return  sdaiFindInstanceUsedInBN(
                    instance,
                    (const SdaiString) roleName,
                    domain,
                    resultList
                );
}
    

Property instance

Size: 64 bit / 8 byte (value)
...

Property roleName

Size: 64 bit / 8 byte (reference)
???.

Property domain

Size: 64 bit / 8 byte (reference)
???.

Property resultList

Size: 64 bit / 8 byte (reference)
???.