engiGetEntityArgumentName

This call can be used to retrieve the name of the n-th argument of the given entity. Arguments of parent entities are included in the index. Both direct and inverse arguments are included.

Syntax

//
//   Strong typing definition
//
const char      * engiGetEntityArgumentName(
                        SdaiEntity              entity,
                        SdaiInteger             index,
                        SdaiPrimitiveType       valueType,
                        const char              ** argumentName
                    );

static  inline  const char  * engiGetEntityArgumentName(
                                    SdaiEntity              entity,
                                    SdaiInteger             index,
                                    SdaiPrimitiveType       valueType,
                                    char                    ** argumentName
                                )
{
    return  engiGetEntityArgumentName(
                    entity,
                    index,
                    valueType,
                    (const char**) argumentName
                );
}

static  inline  const char  * engiGetEntityArgumentName(
                                    SdaiEntity              entity,
                                    SdaiInteger             index,
                                    SdaiPrimitiveType       valueType
                                )
{
    return  engiGetEntityArgumentName(
                    entity,
                    index,
                    valueType,
                    (const char**) nullptr              //    argumentName
                );
}


//
//   Weak typing definition
//
const char  __declspec(dllexport) * __stdcall   engiGetEntityArgumentName(
                                                        int_t                   entity,
                                                        int_t                   index,
                                                        int_t                   valueType,
                                                        const char              ** argumentName
                                                    );

static  inline  const char  * engiGetEntityArgumentName(
                                    int_t                   entity,
                                    int_t                   index,
                                    int_t                   valueType,
                                    char                    ** argumentName
                                )
{
    return  engiGetEntityArgumentName(
                    entity,
                    index,
                    valueType,
                    (const char**) argumentName
                );
}

static  inline  const char  * engiGetEntityArgumentName(
                                    int_t                   entity,
                                    int_t                   index,
                                    int_t                   valueType
                                )
{
    return  engiGetEntityArgumentName(
                    entity,
                    index,
                    valueType,
                    (const char**) nullptr              //    argumentName
                );
}
    

Property entity

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

Property index

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

Property valueType

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

Property argumentName

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