The SEDRIS Data Representation Model
APPENDIX D - Functions
SE ConvertFieldsToCoordinate
extern SE_DRM_Status_Code
SE_ConvertFieldsToCoordinate
(
SE_FIELDS_PTR field_ptr,1
SRM_Coordinate *coord_ptr2
);

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 a <Location> instance.

Parameters Notes

1 fields to be converted

2 to receive the converted output


Prev: SE_ConvertFieldsToColourData. Next: SE_CreateObjectReferenceFromSRFContextInfo. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS