GetAttr (const char *attrName, T &value)
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the attribute value based on the attribute name. This function is called by Init.
Prototype
1 | int32_t GetAttr(const char *attrName, T &value) const |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
attrName |
Input |
Attribute name. |
value |
Output |
Attribute value. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Troubleshooting
None
Constraints
None
Parent topic: RegProcFunc