The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertFieldsToColourData
extern SE_DRM_Status_Code
SE_ConvertFieldsToColourData
(
SE_FIELDS_PTR  field_ptr,1
SE_Colour_Data  *colour_ptr2
);

Definition

Converts the fields of an instance of a concrete subclass of <Colour Data> to the corresponding SE_Colour_Data data structure.


Returns

SE_DRM_STAT_CODE_SUCCESS and updates field_ptr, if valid parameters were passed in.
SE_DRM_STAT_CODE_NULL_REQUIRED_PARAMETER and no changes are made, if field_ptr is NULL or colour_ptr is NULL.
SE_DRM_STAT_CODE_FAILURE and no changes are made, if field_ptr does not represent a subclass of <Colour Data>.

Parameters Notes

1 fields to be converted

2 to receive the converted output


Prev: SE_ConvertCoordinateToFields. Next: SE_ConvertFieldsToCoordinate. Up:Index.