engiGetEnumerationValue

Allows to retrieve enumeration values of an attribute by index.

Syntax

//
//   Strong typing definition
//
const char      * engiGetEnumerationValue(
                        const SdaiAttr          attribute,
                        SdaiInteger             index,
                        SdaiPrimitiveType       valueType,
                        const char              ** enumerationValue
                    );

static  inline  const char  * engiGetEnumerationValue(
                                    const SdaiAttr          attribute,
                                    SdaiInteger             index,
                                    SdaiPrimitiveType       valueType,
                                    char                    ** enumerationValue
                                )
{
    return  engiGetEnumerationValue(
                    attribute,
                    index,
                    valueType,
                    (const char**) enumerationValue
                );
}

static  inline  const char  * engiGetEnumerationValue(
                                    const SdaiAttr          attribute,
                                    SdaiInteger             index,
                                    SdaiPrimitiveType       valueType
                                )
{
    return  engiGetEnumerationValue(
                    attribute,
                    index,
                    valueType,
                    (const char**) nullptr              //    enumerationValue
                );
}


//
//   Weak typing definition
//
const char  __declspec(dllexport) * __stdcall   engiGetEnumerationValue(
                                                        const void              * attribute,
                                                        int_t                   index,
                                                        int_t                   valueType,
                                                        const char              ** enumerationValue
                                                    );

static  inline  const char  * engiGetEnumerationValue(
                                    const void              * attribute,
                                    int_t                   index,
                                    int_t                   valueType,
                                    char                    ** enumerationValue
                                )
{
    return  engiGetEnumerationValue(
                    attribute,
                    index,
                    valueType,
                    (const char**) enumerationValue
                );
}

static  inline  const char  * engiGetEnumerationValue(
                                    const void              * attribute,
                                    int_t                   index,
                                    int_t                   valueType
                                )
{
    return  engiGetEnumerationValue(
                    attribute,
                    index,
                    valueType,
                    (const char**) nullptr              //    enumerationValue
                );
}
    

Property attribute

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

Property index

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

Property valueType

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

Property enumerationValue

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