00001
00002
00003
00004
00006
00008
00009
00010
00012
00013
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef _SRM_VALID_H_INCLUDED
00031 #define _SRM_VALID_H_INCLUDED
00032
00033 #if !defined(_WIN32)
00034 #define EXPORT_DLL
00035 #elif !defined(EXPORT_DLL)
00036 #if defined(_LIB)
00037 #define EXPORT_DLL
00038 #elif defined(_USRDLL)
00039 #define EXPORT_DLL __declspec(dllexport)
00040 #else
00041 #define EXPORT_DLL __declspec(dllimport)
00042 #endif
00043 #endif
00044
00045
00046
00047
00048 #ifdef __cplusplus
00049 extern "C" {
00050 #endif
00051
00052 #include <stdio.h>
00053 #include "srm_types.h"
00054
00055
00056
00060
00061
00062 EXPORT_DLL extern FILE *
00063 SRM_GetErrorFilePtr(void);
00064
00065
00066
00079
00080
00081 EXPORT_DLL extern SRM_Status_Code
00082 SRM_SetErrorFilePtr
00083 (
00084 FILE *err_file_ptr
00085 );
00086
00087
00088
00089
00090
00098
00099 EXPORT_DLL extern SRM_Boolean
00100 SRM_ValidAxisDirection
00101 (
00102 SRM_Axis_Direction value
00103 );
00104
00105
00106
00114
00115 EXPORT_DLL extern SRM_Boolean
00116 SRM_ValidBoolean
00117 (
00118 SRM_Boolean value
00119 );
00120
00121
00122
00137
00138 EXPORT_DLL extern SRM_Boolean
00139 SRM_ValidCD3DCoordinate
00140 (
00141 const SRM_CD_3D_Coordinate *value_ptr,
00142 SRM_Boolean print_error,
00143 SRM_Integer_Unsigned *error_count_ptr
00144 );
00145
00146
00147
00162
00163 EXPORT_DLL extern SRM_Boolean
00164 SRM_ValidCDSurfaceCoordinate
00165 (
00166 const SRM_CD_Surface_Coordinate *value_ptr,
00167 SRM_Boolean print_error,
00168 SRM_Integer_Unsigned *error_count_ptr
00169 );
00170
00171
00172
00187
00188 EXPORT_DLL extern SRM_Boolean
00189 SRM_ValidCoordinate
00190 (
00191 const SRM_Coordinate *value_ptr,
00192 SRM_Boolean print_error,
00193 SRM_Integer_Unsigned *error_count_ptr
00194 );
00195
00196
00197
00205
00206 EXPORT_DLL extern SRM_Boolean
00207 SRM_ValidCoordinateValidRegion
00208 (
00209 SRM_Coordinate_Valid_Region value
00210 );
00211
00212
00213
00228
00229 EXPORT_DLL extern SRM_Boolean
00230 SRM_ValidCoordinateValidRegionArray
00231 (
00232 const SRM_Coordinate_Valid_Region_Array *value_ptr,
00233 SRM_Boolean print_error,
00234 SRM_Integer_Unsigned *error_count_ptr
00235 );
00236
00237
00238
00253
00254 EXPORT_DLL extern SRM_Boolean
00255 SRM_ValidCoordinate2DArray
00256 (
00257 const SRM_Coordinate2D_Array *value_ptr,
00258 SRM_Boolean print_error,
00259 SRM_Integer_Unsigned *error_count_ptr
00260 );
00261
00262
00263
00278
00279 EXPORT_DLL extern SRM_Boolean
00280 SRM_ValidCoordinate3DArray
00281 (
00282 const SRM_Coordinate3D_Array *value_ptr,
00283 SRM_Boolean print_error,
00284 SRM_Integer_Unsigned *error_count_ptr
00285 );
00286
00287
00288
00296
00297 EXPORT_DLL extern SRM_Boolean
00298 SRM_ValidCSCode
00299 (
00300 SRM_CS_Code value
00301 );
00302
00303
00304
00319
00320 EXPORT_DLL extern SRM_Boolean
00321 SRM_ValidDirectionArray
00322 (
00323 const SRM_Direction_Array *value_ptr,
00324 SRM_Boolean print_error,
00325 SRM_Integer_Unsigned *error_count_ptr
00326 );
00327
00328
00329
00337
00338 EXPORT_DLL extern SRM_Boolean
00339 SRM_ValidDSSCode
00340 (
00341 SRM_DSS_Code value
00342 );
00343
00344
00345
00360
00361 EXPORT_DLL extern SRM_Boolean
00362 SRM_ValidECParameters
00363 (
00364 const SRM_EC_Parameters *value_ptr,
00365 SRM_Boolean print_error,
00366 SRM_Integer_Unsigned *error_count_ptr
00367 );
00368
00369
00370
00385
00386 EXPORT_DLL extern SRM_Boolean
00387 SRM_ValidEI3DCoordinate
00388 (
00389 const SRM_EI_3D_Coordinate *value_ptr,
00390 SRM_Boolean print_error,
00391 SRM_Integer_Unsigned *error_count_ptr
00392 );
00393
00394
00395
00402
00403 EXPORT_DLL extern SRM_Boolean
00404 SRM_ValidIntegerPositive
00405 (
00406 SRM_Integer_Positive value
00407 );
00408
00409
00410
00418
00419 EXPORT_DLL extern SRM_Boolean
00420 SRM_ValidIntervalType
00421 (
00422 SRM_Interval_Type value
00423 );
00424
00425
00426
00441
00442 EXPORT_DLL extern SRM_Boolean
00443 SRM_ValidLocalTangentParameters
00444 (
00445 const SRM_Local_Tangent_Parameters *value_ptr,
00446 SRM_Boolean print_error,
00447 SRM_Integer_Unsigned *error_count_ptr
00448 );
00449
00450
00451
00466
00467 EXPORT_DLL extern SRM_Boolean
00468 SRM_ValidLSA2DCoordinate
00469 (
00470 const SRM_LSA_2D_Coordinate *value_ptr,
00471 SRM_Boolean print_error,
00472 SRM_Integer_Unsigned *error_count_ptr
00473 );
00474
00475
00476
00491
00492 EXPORT_DLL extern SRM_Boolean
00493 SRM_ValidLSP2DCoordinate
00494 (
00495 const SRM_LSP_2D_Coordinate *value_ptr,
00496 SRM_Boolean print_error,
00497 SRM_Integer_Unsigned *error_count_ptr
00498 );
00499
00500
00501
00516
00517 EXPORT_DLL extern SRM_Boolean
00518 SRM_ValidLSR2DParameters
00519 (
00520 const SRM_LSR_2D_Parameters *value_ptr,
00521 SRM_Boolean print_error,
00522 SRM_Integer_Unsigned *error_count_ptr
00523 );
00524
00525
00526
00541
00542 EXPORT_DLL extern SRM_Boolean
00543 SRM_ValidLSR3DParameters
00544 (
00545 const SRM_LSR_3D_Parameters *value_ptr,
00546 SRM_Boolean print_error,
00547 SRM_Integer_Unsigned *error_count_ptr
00548 );
00549
00550
00551
00566
00567 EXPORT_DLL extern SRM_Boolean
00568 SRM_ValidLTSAS3DCoordinate
00569 (
00570 const SRM_LTSAS_3D_Coordinate *value_ptr,
00571 SRM_Boolean print_error,
00572 SRM_Integer_Unsigned *error_count_ptr
00573 );
00574
00575
00576
00591
00592 EXPORT_DLL extern SRM_Boolean
00593 SRM_ValidLTSC3DCoordinate
00594 (
00595 const SRM_LTSC_3D_Coordinate *value_ptr,
00596 SRM_Boolean print_error,
00597 SRM_Integer_Unsigned *error_count_ptr
00598 );
00599
00600
00601
00616
00617 EXPORT_DLL extern SRM_Boolean
00618 SRM_ValidLTSCSurfaceCoordinate
00619 (
00620 const SRM_LTSC_Surface_Coordinate *value_ptr,
00621 SRM_Boolean print_error,
00622 SRM_Integer_Unsigned *error_count_ptr
00623 );
00624
00625
00626
00641
00642 EXPORT_DLL extern SRM_Boolean
00643 SRM_ValidLTSEParameters
00644 (
00645 const SRM_LTSE_Parameters *value_ptr,
00646 SRM_Boolean print_error,
00647 SRM_Integer_Unsigned *error_count_ptr
00648 );
00649
00650
00651
00666
00667 EXPORT_DLL extern SRM_Boolean
00668 SRM_ValidMParameters
00669 (
00670 const SRM_M_Parameters *value_ptr,
00671 SRM_Boolean print_error,
00672 SRM_Integer_Unsigned *error_count_ptr
00673 );
00674
00675
00676
00691
00692 EXPORT_DLL extern SRM_Boolean
00693 SRM_ValidObliqueMercatorParameters
00694 (
00695 const SRM_Oblique_Mercator_Parameters *value_ptr,
00696 SRM_Boolean print_error,
00697 SRM_Integer_Unsigned *error_count_ptr
00698 );
00699
00700
00701
00709
00710 EXPORT_DLL extern SRM_Boolean
00711 SRM_ValidORMCode
00712 (
00713 SRM_ORM_Code value
00714 );
00715
00716
00717
00725
00726 EXPORT_DLL extern SRM_Boolean
00727 SRM_ValidORMTCode
00728 (
00729 SRM_ORMT_Code value
00730 );
00731
00732
00733
00748
00749 EXPORT_DLL extern SRM_Boolean
00750 SRM_ValidPD3DCoordinate
00751 (
00752 const SRM_PD_3D_Coordinate *value_ptr,
00753 SRM_Boolean print_error,
00754 SRM_Integer_Unsigned *error_count_ptr
00755 );
00756
00757
00758
00773
00774 EXPORT_DLL extern SRM_Boolean
00775 SRM_ValidPDSurfaceCoordinate
00776 (
00777 const SRM_PD_Surface_Coordinate *value_ptr,
00778 SRM_Boolean print_error,
00779 SRM_Integer_Unsigned *error_count_ptr
00780 );
00781
00782
00783
00791
00792 EXPORT_DLL extern SRM_Boolean
00793 SRM_ValidPolarAspect
00794 (
00795 SRM_Polar_Aspect value
00796 );
00797
00798
00799
00814
00815 EXPORT_DLL extern SRM_Boolean
00816 SRM_ValidPSParameters
00817 (
00818 const SRM_PS_Parameters *value_ptr,
00819 SRM_Boolean print_error,
00820 SRM_Integer_Unsigned *error_count_ptr
00821 );
00822
00823
00824
00832
00833 EXPORT_DLL extern SRM_Boolean
00834 SRM_ValidRDCode
00835 (
00836 SRM_RD_Code value
00837 );
00838
00839
00840
00848
00849 EXPORT_DLL extern SRM_Boolean
00850 SRM_ValidRTCode
00851 (
00852 SRM_ORM_Code orm_code,
00853 SRM_RT_Code rt_code
00854 );
00855
00856
00857
00865
00866 EXPORT_DLL extern SRM_Boolean
00867 SRM_ValidSpatialCoordinateCode
00868 (
00869 SRM_Spatial_Coordinate_Code value
00870 );
00871
00872
00873
00888
00889 EXPORT_DLL extern SRM_Boolean
00890 SRM_ValidSpherical3DCoordinate
00891 (
00892 const SRM_Spherical_3D_Coordinate *value_ptr,
00893 SRM_Boolean print_error,
00894 SRM_Integer_Unsigned *error_count_ptr
00895 );
00896
00897
00898
00906
00907 EXPORT_DLL extern SRM_Boolean
00908 SRM_ValidSRFCode
00909 (
00910 SRM_SRF_Code value
00911 );
00912
00913
00914
00929
00930 EXPORT_DLL extern SRM_Boolean
00931 SRM_ValidSRFParametersInfo
00932 (
00933 const SRM_SRF_Parameters_Info *value_ptr,
00934 SRM_Boolean print_error,
00935 SRM_Integer_Unsigned *error_count_ptr
00936 );
00937
00938
00939
00947
00948 EXPORT_DLL extern SRM_Boolean
00949 SRM_ValidSRFParametersInfoCode
00950 (
00951 SRM_SRF_Parameters_Info_Code value
00952 );
00953
00954
00955
00970
00971 EXPORT_DLL extern SRM_Boolean
00972 SRM_ValidSRFReferenceSurfaceInfo
00973 (
00974 const SRM_SRF_Reference_Surface_Info *value_ptr,
00975 SRM_Boolean print_error,
00976 SRM_Integer_Unsigned *error_count_ptr
00977 );
00978
00979
00980
00988
00989 EXPORT_DLL extern SRM_Boolean
00990 SRM_ValidSRFSCode
00991 (
00992 SRM_SRFS_Code value
00993 );
00994
00995
00996
01011
01012 EXPORT_DLL extern SRM_Boolean
01013 SRM_ValidSRFSCodeInfo
01014 (
01015 const SRM_SRFS_Code_Info *value_ptr,
01016 SRM_Boolean print_error,
01017 SRM_Integer_Unsigned *error_count_ptr
01018 );
01019
01020
01021
01036
01037 EXPORT_DLL extern SRM_Boolean
01038 SRM_ValidSRFSInfo
01039 (
01040 const SRM_SRFS_Info *value_ptr,
01041 SRM_Boolean print_error,
01042 SRM_Integer_Unsigned *error_count_ptr
01043 );
01044
01045
01046
01054
01055 EXPORT_DLL extern SRM_Boolean
01056 SRM_ValidSRFSMAlabamaSPCSCode
01057 (
01058 SRM_SRFSM_Alabama_SPCS_Code value
01059 );
01060
01061
01062
01071
01072 EXPORT_DLL extern SRM_Boolean
01073 SRM_ValidSRFSMJapanRectangularPlaneCSCode
01074 (
01075 SRM_SRFSM_Japan_Rectangular_Plane_CS_Code value
01076 );
01077
01078
01079
01087
01088 EXPORT_DLL extern SRM_Boolean
01089 SRM_ValidSRFSMLambertNTFCode
01090 (
01091 SRM_SRFSM_Lambert_NTF_Code value
01092 );
01093
01094
01095
01103
01104 EXPORT_DLL extern SRM_Boolean
01105 SRM_ValidSRFSMUPSCode
01106 (
01107 SRM_SRFSM_UPS_Code value
01108 );
01109
01110
01111
01119
01120 EXPORT_DLL extern SRM_Boolean
01121 SRM_ValidSRFSMUTMCode
01122 (
01123 SRM_SRFSM_UTM_Code value
01124 );
01125
01126
01127
01135
01136 EXPORT_DLL extern SRM_Boolean
01137 SRM_ValidSRFSMWisconsinSPCSCode
01138 (
01139 SRM_SRFSM_Wisconsin_SPCS_Code value
01140 );
01141
01142
01143
01151
01152 EXPORT_DLL extern SRM_Boolean
01153 SRM_ValidSRFTCode
01154 (
01155 SRM_SRFT_Code value
01156 );
01157
01158
01159
01174
01175 EXPORT_DLL extern SRM_Boolean
01176 SRM_ValidSRFTParameters
01177 (
01178 const SRM_SRFT_Parameters *value_ptr,
01179 SRM_Boolean print_error,
01180 SRM_Integer_Unsigned *error_count_ptr
01181 );
01182
01183
01184
01192
01193 EXPORT_DLL extern SRM_Boolean
01194 SRM_ValidStatusCode
01195 (
01196 SRM_Status_Code value
01197 );
01198
01199
01200
01215
01216 EXPORT_DLL extern SRM_Boolean
01217 SRM_ValidTMParameters
01218 (
01219 const SRM_TM_Parameters *value_ptr,
01220 SRM_Boolean print_error,
01221 SRM_Integer_Unsigned *error_count_ptr
01222 );
01223 #ifdef __cplusplus
01224 }
01225 #endif
01226 #endif