engiGetAttrIndexExBN

This call works for non-complex entities and entities without multiple inheritance, it is advised not to use this call for other schemas. Technically engiGetAttrIndexExBN will transform into the following call engiGetAttrIndexEx( sdaiGetAttrDefinition( entity, attributeName ), countedWithParents, countedWithInverse );

Syntax

//
//   Strong typing definition
//
int_t           engiGetAttrIndexExBN(
                        SdaiEntity              entity,
                        SdaiString              attributeName,
                        bool                    countedWithParents,
                        bool                    countedWithInverse
                    );

static  inline  int_t   engiGetAttrIndexExBN(
                                SdaiEntity              entity,
                                char                    * attributeName,
                                bool                    countedWithParents,
                                bool                    countedWithInverse
                            )
{
    return  engiGetAttrIndexExBN(
                    entity,
                    (SdaiString) attributeName,
                    countedWithParents,
                    countedWithInverse
                );
}


//
//   Weak typing definition
//
int_t   __declspec(dllexport) __stdcall engiGetAttrIndexExBN(
                                                int_t                   entity,
                                                const char              * attributeName,
                                                bool                    countedWithParents,
                                                bool                    countedWithInverse
                                            );

static  inline  int_t   engiGetAttrIndexExBN(
                                int_t                   entity,
                                char                    * attributeName,
                                bool                    countedWithParents,
                                bool                    countedWithInverse
                            )
{
    return  engiGetAttrIndexExBN(
                    entity,
                    (const SdaiString) attributeName,
                    countedWithParents,
                    countedWithInverse
                );
}
    

Property entity

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

Property attributeName

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

Property countedWithParents

Size: 8 bit / 1 byte (value)
???.

Property countedWithInverse

Size: 8 bit / 1 byte (value)
???.