SetOutput
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the output of the specified index and options. This function is called by the func function.
Prototype
1 | int32_t SetOutput(uint32_t outIdx, std::shared_ptr<FlowMsg> outMsg, const OutOptions &options) = 0 |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
outIdx |
Input |
Output index, starting from 0. |
outMsg |
Input |
Output message. |
options |
Input |
OutOptions corresponding to the output. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Troubleshooting
None
Constraints
None
Parent topic: GetOutputNum