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_SRF
 The spatial reference frame (SRF) parameters are wrong,
 or the pointer is NULL.
2
SRM_STAT_CODE_INVALID_SOURCE_SRF
 The source spatial reference frame (SRF) parameters are wrong,
 or the pointer is NULL.
3
SRM_STAT_CODE_INVALID_TARGET_SRF
 The target spatial reference frame (SRF) parameters are
 wrong, or the pointer is NULL.
4
SRM_STAT_CODE_INVALID_SOURCE_COORDINATE
 The source coordinate is NULL, or invalid within the source
 spatial reference frame (SRF).
5
SRM_STAT_CODE_INVALID_TARGET_COORDINATE
 The target coordinate is NULL, or invalid within the
 destination SRF.
6
SRM_STAT_CODE_INVALID_SOURCE_DIRECTION
 The source direction is NULL, or invalid.
7
SRM_STAT_CODE_INVALID_INPUT
 The input is NULL, or invalid.
8
SRM_STAT_CODE_INVALID_CODE
 The code is NULL, or invalid.
9
SRM_STAT_CODE_CREATION_FAILURE
 failed creation
10
SRM_STAT_CODE_DESTRUCTION_FAILURE
 failed destruction
11
SRM_STAT_CODE_OPERATION_UNSUPPORTED
 The operation requested is not supported.
12
SRM_STAT_CODE_FLOATING_OVERFLOW
 floating overflow
13
SRM_STAT_CODE_FLOATING_UNDERFLOW
 floating underflow
14
SRM_STAT_CODE_FLOATING_POINT_ERROR
 floating point error
15
SRM_STAT_CODE_INVALID_TARGET_DIRECTION
 The target direction is NULL, or invalid.
16
SRM_STAT_CODE_INVALID_SOURCE_ORIENTATION
 The source orientation is NULL, or invalid.
17
SRM_STAT_CODE_INVALID_TARGET_ORIENTATION
 The target orientation is NULL, or invalid.
18
SRM_STAT_CODE_NOT_IMPLEMENTED
 not implemented
19
SRM_STAT_CODE_INACTIONABLE
 inactionable
20
SRM_STAT_CODE_OUT_OF_MEMORY
 out of memory
21



Prev: SRM_SSM_Code. Next: SRM_Vector_3D.


Return to: Top of this Page, Type Index

Last updated: July 16, 2004 Copyright © 2004 SEDRIS