The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertColourDataToFields
extern SE_DRM_Status_Code
SE_ConvertColourDataToFields
(
constSE_Colour_Data *colour_ptr, (notes)
SE_Fields *fields_ptr (notes)
);

Definition

Converts the given SE_Colour_Data to the fields of the corresponding <Colour Data> subclass.


Returns

SE_DRM_STAT_CODE_SUCCESS and *fields_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 no changes are made, if colour_ptr refers to an invalid colour model.


Parameters Notes


colour_ptr

 SE_Colour_Data to be copied.

fields_ptr

 pointer to SE_Fields to receive the output.


Prev: SE_CompareURNs. Next: SE_ConvertColourToGivenModel. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS