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

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


field_ptr

 fields to be converted

colour_ptr

 to receive the converted output


Prev: SE_ConvertCoordToFields. Next: SE_ConvertFieldsToCoord. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS