GetListListInt

Description

Obtains the attribute value of the ContinuousVectorVector* type, which is a two-dimensional array with each element of the int type.

Prototype

const ContinuousVectorVector *GetListListInt(const size_t index) const

Parameters

Parameter

Input/Output

Description

index

Input

Index of the attribute in the IR prototype definition.

Returns

Pointer to the attribute value.

For details about the definition of the ContinuousVectorVector type, see ContinuousVectorVector.

Restrictions

None

Example

// Assume that in the IR prototype definition of an operator, the value of the first attribute is a two-dimensional array of the int type.
const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs();
const ContinuousVectorVector *attr0 = runtime_attrs->GetListListInt(0);