engiGetInstanceAttrTypeBN

Combines sdaiGetAttrDefinition and engiGetInstanceAttrType. Technically engiGetInstanceAttrTypeBN will transform into the following call

    engiGetInstanceAttrType(
            instance,
            sdaiGetAttrDefinition(
                    sdaiGetInstanceType(
                            instance
                        ),
                    attributeName
                )
        );

Syntax

//
//   Strong typing definition
//
SdaiPrimitiveType   engiGetInstanceAttrTypeBN(
                            SdaiInstance            instance,
                            const char              * attributeName
                        );

static  inline  SdaiPrimitiveType   engiGetInstanceAttrTypeBN(
                                            SdaiInstance            instance,
                                            char                    * attributeName
                                        )
{
    return  engiGetInstanceAttrTypeBN(
                    instance,
                    (const char*) attributeName
                );
}


//
//   Weak typing definition
//
int_t   __declspec(dllexport) __stdcall engiGetInstanceAttrTypeBN(
                                                int_t                   instance,
                                                const char              * attributeName
                                            );

static  inline  int_t   engiGetInstanceAttrTypeBN(
                                int_t                   instance,
                                char                    * attributeName
                            )
{
    return  engiGetInstanceAttrTypeBN(
                    instance,
                    (const char*) attributeName
                );
}
    

Property instance

Size: 32 bit / 4 byte (value)
...

Property attributeName

Size: 32 bit / 4 byte (reference)
...