The SEDRIS Data Representation Model
APPENDIX D - Functions
SE SingleValueToBoolean
extern SE_DRM_Status_Code
SE_SingleValueToBoolean
(
constSE_Single_Value *value_ptr, (notes)
EDCS_Boolean *result_out_ptr (notes)
);

Definition

Converts an SE_Single_Value to an EDCS_Boolean.

When converting:

string: if non-NULL, treated as TRUE; otherwise, FALSE

all others: normal logical rules apply


Returns

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_FALSE, if *value_ptr is invalid.


Parameters Notes


value_ptr

 pointer to the SE_Single_Value to be converted

result_out_ptr

 pointer to the EDCS_Boolean where the result will be
    stored


Prev: SE_SetTranslateMatrix4x4. Next: SE_SingleValueToCount. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS