|
SRM Reference Manual
Types SRM_Status_Code |
|---|
/* * REGISTERABLE ENUM: SRM_Status_Code * * This data type specifies the return codes used by the SRM * coordinate operations (conversion and transformation). */ typedef SRM_Short_Integer SRM_Status_Code;
| Enumerant | Definition | Value |
|---|---|---|
| SRM_STAT_CODE_SUCCESS | Coordinate operation successful. |
1 |
| SRM_STAT_CODE_INVALID_SOURCE_SRF_PARAMETERS | The source spatial reference frame (SRF) parameters are wrong, or the pointer is NULL. |
2 |
| SRM_STAT_CODE_INVALID_DEST_SRF_PARAMETERS | The destination spatial reference frame (SRF) parameters are wrong, or the pointer is NULL. |
3 |
| SRM_STAT_CODE_INVALID_SRF_PAIR | The merged source+destination spatial reference frame (SRF) parameters pointer is NULL or invalid. |
4 |
| SRM_STAT_CODE_INVALID_SOURCE_COORD | The source coordinate is NULL, or invalid within the source spatial reference frame (SRF). |
5 |
| SRM_STAT_CODE_EXTENDED_SOURCE_COORD | The coordinate falls within extended range in the source spatial reference frame (SRF). |
6 |
| SRM_STAT_CODE_INVALID_DEST_COORD | The destination coord is NULL, or invalid within the destination SRF. |
7 |
| SRM_STAT_CODE_EXTENDED_DEST_COORD | The coordinate falls within extended range in the destination SRF. |
8 |
| SRM_STAT_CODE_EXTENDED_SOURCE_AND_DEST_COORD | The coordinate falls within extended range in both the source and destination SRFs. |
9 |
| SRM_STAT_CODE_UNSUPPORTED | The operation (conversion/transformation) is unsupported. |
10 |
| SRM_STAT_CODE_INVALID_SOURCE_VECTOR | The source vector is NULL. |
11 |
| SRM_STAT_CODE_INVALID_DEST_VECTOR | The destination vector is NULL. |
12 |
| SRM_STAT_CODE_INVALID_SOURCE_MATRIX | The source matrix is NULL. |
13 |
| SRM_STAT_CODE_INVALID_DEST_MATRIX | The destination matrix is NULL. |
14 |
| SRM_STAT_CODE_INVALID_DEST_COSINE_GAMMA | The destination cosine gamma is NULL. |
15 |
| SRM_STAT_CODE_INVALID_DEST_SINE_GAMMA | The destination sine gamma is NULL. |
16 |
| SRM_STAT_CODE_MISSING_WGS84_GEOID_SEPARATION_FILE | The geoidal separation file cannot be found, or cannot be accessed. |
17 |
| SRM_STAT_CODE_INVALID_WGS84_GEOID_SEPARATION_FILE | The geoidal separation file is incomplete or improperly formatted. |
18 |
| SRM_STAT_CODE_FAILURE | An error condition not covered by the above status codes occurred. |
19 |
|