The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertFieldsToCoord
extern SE_DRM_Status_Code
SE_ConvertFieldsToCoord
(
SE_FIELDS_PTR field_ptr, (notes)
SRM_Coord *coord_ptr (notes)
);

Definition

Converts the fields of an instance of a concrete subclass of <Location> to the corresponding coordinate 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 coord_ptr is NULL.
SE_DRM_STAT_CODE_FAILURE and no changes are made, if field_ptr does not represent an instance of a concrete subclass of <Location>.


Parameters Notes


field_ptr

 fields to be converted

coord_ptr

 to receive the converted output


Prev: SE_ConvertFieldsToColourData. Next: SE_CreateSRFFromSRFInfo. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS