get_attr_int
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the attribute value of the int type with the specified name.
Prototype
1 | get_attr_int(self, name: str) -> Tuple[int, int] |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Attribute name. |
Returns
Return code and attribute value of the int type.
- If this attribute exists, the first element in the returned tuple is FLOW_FUNC_SUCCESS, and the second element is the attribute value of the int type.
- If the attribute does not exist, the tuple contains only the error code.
Exception Handling
None
Constraints
None
Parent topic: Class MetaParams