The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertColourDataToFields
extern SE_DRM_Status_Code
SE_ConvertColourDataToFields
(
constSE_Colour_Data *colour_ptr,1
SE_DRM_Class_Fields *fields_ptr2
);

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

1 SE_Colour_Data to be copied.

2 pointer to SE_DRM_Class_Fields to receive the output.


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

Last updated: July 26, 2006 Copyright © 2006 SEDRIS