![]() |
Qore DataProvider Module Reference 3.3.0
|
Data provider signature info. More...
#include <AbstractDataProvider.qc.dox.h>
Public Attributes | |
| *softlist< hash< DataProviderArgInfo > > | arg_info |
| Argument info. | |
| softlist< hash< DataProviderSignatureTypeInfo > > | args |
| Argument types. | |
| string | desc |
| The description of the operation. | |
| string | display_name |
| The display name. | |
| string | name |
| The technical name or internal label used for the expression. | |
| *string | render_template |
| Any template to render the expression. | |
| AbstractDataProviderType | return_type |
| The return type. | |
| *list< string > | return_type_arg_priority |
| Return type argument priority list. | |
| *bool | return_type_first_arg |
| Use the first argument's type as the return type. | |
| int | role = ER_All |
| The expression role code / bitfield. | |
| string | short_desc |
| The short description of the operation. | |
| int | subtype = DES_Generic |
| The expression subtype. | |
| string | symbol |
| The symbol to use when rendering expressions. | |
| int | type |
| The type of expression; see DataProvider Expression Type Codes. | |
| bool | varargs = False |
| The last argument can be repeated indefinitely. | |
Data provider signature info.
| string DataProvider::DataProviderExpressionInfo::desc |
The description of the operation.
With markdown formatting
| string DataProvider::DataProviderExpressionInfo::name |
The technical name or internal label used for the expression.
Must correspond to the key used in any expression hash
| *string DataProvider::DataProviderExpressionInfo::render_template |
Any template to render the expression.
Placeholders are:
| *list<string> DataProvider::DataProviderExpressionInfo::return_type_arg_priority |
Return type argument priority list.
A list of types that indicate the priority order when determining the final return type based on argument types; to determine the final return type, the first type in this list that matches any of the argument types is used as the return type; i.e. the earlier the type appears in this list, the higher its priority
If there are no matches, the declared return_type is used; normally "any"
This is useful for expressions that take multiple argument types and return different types depending on the argument types
return_type_first_arg to True| *bool DataProvider::DataProviderExpressionInfo::return_type_first_arg |
Use the first argument's type as the return type.
If set to True, the type of the first argument is used as the return type
return_type_arg_priority | int DataProvider::DataProviderExpressionInfo::role = ER_All |
The expression role code / bitfield.
| int DataProvider::DataProviderExpressionInfo::subtype = DES_Generic |
The expression subtype.