AddArg
This method defines required arguments to your plugin function.
Calling convention:
int AddArg( const char* name, const char* desc, ArgType type, Measure dimens)
| Argument | Data type | Description |
|---|---|---|
| name | const char* | Name of the argument. |
| desc | const char* | Description of the argument. |
| type | ArgType | Type of the argument. |
| dimens | Measure | Unit dimension for the returned value. |
You can find a definition of this function in the CaeUtils_Exp_IFunctionDefinition.hxx header file.
For the example, see the AddFunction method.
