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_Integer SRM_Status_Code;
Enumerant Definition Value
SRM_STATCOD_SUCCESS
 Coordinate operation successful.
1
SRM_STATCOD_INVALID_SRF
 The spatial reference frame (SRF) parameters are wrong,
 or the pointer is NULL.
2
SRM_STATCOD_INVALID_SOURCE_SRF
 The source spatial reference frame (SRF) parameters are wrong,
 or the pointer is NULL.
3
SRM_STATCOD_INVALID_SOURCE_COORDINATE
 The source coordinate is NULL, or invalid within the source
 spatial reference frame (SRF).
4
SRM_STATCOD_INVALID_TARGET_COORDINATE
 The target coordinate is NULL, or invalid within the
 destination SRF.
5
SRM_STATCOD_INVALID_POINT1_COORDINATE
 The point 1 coordinate is NULL, or invalid within the source
 spatial reference frame (SRF).
6
SRM_STATCOD_INVALID_POINT2_COORDINATE
 The point 2 coordinate is NULL, or invalid within the
 destination SRF.
7
SRM_STATCOD_OPERATION_UNSUPPORTED
 The operation requested is not supported.
8
SRM_STATCOD_INVALID_SOURCE_DIRECTION
 The source direction is NULL, or invalid.
9
SRM_STATCOD_INVALID_TARGET_DIRECTION
 The target direction is NULL, or invalid.
10
SRM_STATCOD_INVALID_CODE
 The code is NULL, or invalid.
11
SRM_STATCOD_INVALID_INPUT
 The input is NULL, or invalid.
12
SRM_STATCOD_CREATION_FAILURE
 failed creation
13
SRM_STATCOD_DESTRUCTION_FAILURE
 failed destruction
14
SRM_STATCOD_FLOATING_OVERFLOW
 floating overflow
15
SRM_STATCOD_FLOATING_UNDERFLOW
 floating underflow
16
SRM_STATCOD_FLOATING_POINT_ERROR
 floating point error
17
SRM_STATCOD_MEMORY_ALLOCATION_ERROR
 Unable to allocate memory
18
SRM_STATCOD_BUFFER_OVERFLOW
 Buffer overflow
2401
SRM_STATCOD_ENUMERATION_VALUE_INVALID
 Invalid enumeration value
2402
SRM_STATCOD_INVALID_SOURCE_ORIENTATION
 The source orientation is NULL, or invalid.
-100
SRM_STATCOD_INVALID_TARGET_ORIENTATION
 The target orientation is NULL, or invalid.
-101
SRM_STATCOD_NOT_IMPLEMENTED
 not implemented
-102
SRM_STATCOD_INACTIONABLE
 inactionable
-103



Prev: SRM_SRFT_Parameters. Next: SRM_TM_Parameters.


Return to: Top of this Page, Type Index