This module contains API functions to handle SVM value parameters.
More...
This module contains API functions to handle SVM value parameters.
◆ svm_parameter_type_is_value()
This function checks whether a callback parameter is a value.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | parameter | The callback parameter to check. |
- Returns
- TRUE if the parameter is a value, FALSE otherwise.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
◆ svm_parameter_value_get()
This function converts a parameter into a value.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | parameter | The callback parameter to convert. |
- Returns
- The value variable contained in the parameter.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
FAILURE | interruption when the parameter does not contain a value. |
- See also
- svm_parameter_type_is_value
◆ svm_parameter_value_new()
This function creates a parameter from a value.
- Parameters
-
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | value | The value to be passed as a parameter. |
- Returns
- The parameter containing the value.
- Exceptions
-
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |