The SEDRIS Data Representation Model
APPENDIX D - Functions
SE SingleValueToEnumerantCode
extern SE_DRM_Status_Code
SE_SingleValueToEnumerantCode
(
constSE_Single_Value *value_ptr,1
EDCS_Enumerant_Code *result_out_ptr2
);

Definition

Converts an SE_Single_Value to an EDCS_Enumerant_Code.

When converting:

anything other than an EDCS_Enumerant_Code is treated as 0.


Returns

SE_DRM_STAT_CODE_SUCCESS 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 zero (0), if *value_ptr does not contain an EDCS_Enumerant_Code. Note that the EE is not guaranteed to be valid, since its EA is not provided.

Parameters Notes

1 pointer to the SE_Single_Value to be converted

2 pointer to the EDCS_Enumerant_Code where the result will be stored


Prev: SE_SingleValueToCount. Next: SE_SingleValueToInteger. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS