GetAttrNum
Function Usage
Obtains the number of attributes.
Prototype
1 | size_t GetAttrNum() const |
Parameters
None
Returns
Number of attributes
Constraints
None
Examples
1 2 | const RuntimeAttrs * runtime_attrs = kernel_context->GetAttrs(); size_t attr_num = runtime_attrs->GetAttrNum(); |
Parent topic: RuntimeAttrs