engiGetAttributeTraits

...

Syntax

//
//   Strong typing definition
//
void            engiGetAttributeTraits(
                        const SdaiAttr          attribute,
                        const char              ** name,
                        SdaiEntity              * definingEntity,
                        bool                    * inverse,
                        enum_express_attr_type  * attrType,
                        SdaiEntity              * domainEntity,
                        SchemaAggr              * aggregationDescriptor,
                        bool                    * optional,
                        bool                    * unique
                    );

static  inline  void    engiGetAttributeTraits(
                                const SdaiAttr          attribute,
                                char                    ** name,
                                SdaiEntity              * definingEntity,
                                bool                    * inverse,
                                enum_express_attr_type  * attrType,
                                SdaiEntity              * domainEntity,
                                SchemaAggr              * aggregationDescriptor,
                                bool                    * optional,
                                bool                    * unique
                            )
{
    return  engiGetAttributeTraits(
                    attribute,
                    (const char**) name,
                    definingEntity,
                    inverse,
                    attrType,
                    domainEntity,
                    aggregationDescriptor,
                    optional,
                    unique
                );
}


//
//   Weak typing definition
//
void    __declspec(dllexport) __stdcall engiGetAttributeTraits(
                                                const void              * attribute,
                                                const char              ** name,
                                                int_t                   * definingEntity,
                                                bool                    * inverse,
                                                unsigned char           * attrType,
                                                int_t                   * domainEntity,
                                                int_t                   ** aggregationDescriptor,
                                                bool                    * optional,
                                                bool                    * unique
                                            );

static  inline  void    engiGetAttributeTraits(
                                const void              * attribute,
                                char                    ** name,
                                int_t                   * definingEntity,
                                bool                    * inverse,
                                unsigned char           * attrType,
                                int_t                   * domainEntity,
                                int_t                   ** aggregationDescriptor,
                                bool                    * optional,
                                bool                    * unique
                            )
{
    return  engiGetAttributeTraits(
                    attribute,
                    (const char**) name,
                    definingEntity,
                    inverse,
                    attrType,
                    domainEntity,
                    aggregationDescriptor,
                    optional,
                    unique
                );
}
    

Property attribute

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

Property name

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

Property definingEntity

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

Property inverse

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

Property attrType

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

Property domainEntity

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

Property aggregationDescriptor

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

Property optional

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

Property unique

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