|
The SEDRIS Data Representation Model
APPENDIX D - Functions SE SingleValueToString |
|---|
| extern SE_DRM_Status_Code | ||||
| SE_SingleValueToString | ||||
| ( | ||||
| const | SE_Single_Value | * | value_ptr, | 1 |
| EDCS_String | * | result_out_ptr | 2 | |
| ); | ||||
Converts an SE_Single_Value to an EDCS_String.
When converting:
anything but a string: allocates result_out_ptr's characters field and prints the value into result_out_ptr
| SE_DRM_STAT_CODE_SUCCESS | and *result_out_ptr is set appropriately, if valid parameters were passed in. |
| SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER | and no changes are made, if any parameter is NULL. |
| SE_DRM_STAT_CODE_FAILURE | and *result_out_ptr is set to EDCS_STRING_DEFAULT, if *value_ptr is invalid. |
1 pointer to the SE_Single_Value to be converted
2 pointer to the EDCS_String where the result will be stored
Prev: SE_SingleValueToLongFloat.
Next: SE_SuperClass.
Up:Index.
|