4
/***************************************************************************/
5
/* RSC IDENTIFIER: Source
10
* This component checks for input file errors and input parameter errors.
11
* If an invalid value is found, the error code is combined with the current
12
* error code using the bitwise or. This combining allows multiple error
13
* codes to be returned. The possible error codes are:
15
* SOURCE_NO_ERROR : No errors occurred in function
16
* SOURCE_INVALID_INDEX_ERROR : Index out of valid range (less than one
17
* or more than Source_Count)
18
* SOURCE_INVALID_NAME_ERROR : Source name not found
23
* Source is intended for reuse by any application that needs access to
29
* Further information on Datum can be found in the Reuse Manual.
31
* Source originated from : U.S. Army Topographic Engineering Center (USATEC)
32
* Geospatial Information Division (GID)
34
* Alexandria, VA 22310-3864
38
* None apply to this component.
42
* Source has no restrictions.
46
* Source was tested and certified in the following environments:
48
* 1. Solaris 2.5 with GCC 2.8.1
49
* 2. MS Windows 95 with MS Visual C++ 6
58
/***************************************************************************/
63
#define SOURCE_NO_ERROR 0x00000
64
#define SOURCE_INVALID_INDEX_ERROR 0x00001
65
#define SOURCE_INVALID_NAME_ERROR 0x00002
68
/***************************************************************************/
73
/* ensure proper linkage to c++ programs */
78
void Source_Count (long *Count);
81
* The function Source_Count returns the number of accuracy sources
83
* Count : number of accuracy sources (output)
87
long Source_Index(const char *Name,
91
* The function Source_Index returns the index of the accuracy source with the
94
* Name : The source name being searched for. (input)
95
* Index : The index of the accuracy source with the (output)
100
long Source_Name (const long Index,
103
* The function Source_Name returns the name of the accuracy source referenced by
106
* Index : The index of a given datum in the datum table. (input)
107
* Name : The accuracy source Name referenced by Index. (output)
111
long Source_Accuracy (const long Index,
116
* The function Source_Accuracy returns the accuracy values (CE, LE, SE)
117
* for the source referenced by index.
119
* Index : The index of a given datum in the datum table (input)
120
* CE : Circular error (output)
121
* LE : Linear error (output)
122
* SE : Spherical error (output)
130
#endif /* SOURCE_H */