目录

GetAttrNum

Function Description

Obtains the number of attributes.

Function Prototype

size_t GetAttrNum() const

Parameters

None

Return Value

Number of attributes

Restrictions

None

Calling Example

const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs();
size_t attr_num = runtime_attrs->GetAttrNum();