The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertFieldsToCoordinate
extern SE_DRM_Status_Code
SE_ConvertFieldsToCoordinate
(
SE_FIELDS_PTR field_ptr, (notes)
SRM_Coordinate *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_ConvertVectorToFields. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™