00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102 #ifndef INC_MI32_SMLFUNCS_H
00103 #define INC_MI32_SMLFUNCS_H
00104
00105 struct SMLCONTEXT;
00106
00107
00108 typedef int (*SMLFUNCINSTALLER)(SMLCONTEXT *);
00109
00110
00111
00112
00113 void SML_EnableImportExport ();
00114
00115
00116
00117
00118 void SML_EnableGRE ();
00119
00120 #ifndef GENERATING_DOXYGEN_OUTPUT
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131 #ifndef INC_MI32_SML_H
00132 #include <mi32/sml.h>
00133 #endif
00134
00135 #if defined(__cplusplus)
00136 extern "C" {
00137 #endif
00138
00139 #ifndef SML_FUNCLIST_PROTOS_DEFINED
00140 #define SML_FUNCLIST_PROTOS_DEFINED
00141
00142
00143 int SML_InstallRasterClasses(SMLCONTEXT *);
00144 int SML_InstallRasterFunctions(SMLCONTEXT *);
00145 int SML_InstallFilterFunctions(SMLCONTEXT *);
00146 int SML_InstallFFTClasses(SMLCONTEXT *);
00147 int SML_InstallVectorClasses(SMLCONTEXT *);
00148 int SML_InstallVectorFunctions(SMLCONTEXT *);
00149 int SML_InstallCADFunctions(SMLCONTEXT *);
00150 int SML_InstallTINFunctions(SMLCONTEXT *);
00151 int _qq_install_matrix_functions(SMLCONTEXT *);
00152 int _qq_install_linestyle_functions(SMLCONTEXT *);
00153 int SML_InstallVectorToolkitFunctions(SMLCONTEXT *);
00154 int SML_InstallClassifyFunctions(SMLCONTEXT *);
00155 int SML_InstallColorConversionFunctions(SMLCONTEXT *);
00156 int SML_InstallObjectConversionFunctions(SMLCONTEXT *);
00157 int SML_InstallRegionFunctions(SMLCONTEXT *);
00158 int SML_InstallToolFunctions(SMLCONTEXT *);
00159 int SML_InstallToolClasses(SMLCONTEXT *);
00160
00161 int _qq_install_math_functions(SMLCONTEXT *);
00162 int _qq_install_georef_functions(SMLCONTEXT *);
00163 int SML_InstallGeorefFunctions(SMLCONTEXT *);
00164 int SML_InstallGeorefClasses(SMLCONTEXT *);
00165 int SML_InstallSpatRefClasses(SMLCONTEXT *);
00166 void SML_InstallMapProjClass(SMLCONTEXT *);
00167 int SML_InstallObjectFunctions(SMLCONTEXT *);
00168 RVCAPPLIBEXPORT int SML_InstallObjectClasses(SMLCONTEXT *);
00169 int SML_InstallPointSymbolFunctions(SMLCONTEXT *);
00170
00171 int SML_InstallConsoleClasses(SMLCONTEXT *context);
00172 int SML_InstallConsoleFunctions(SMLCONTEXT *context);
00173 RVCAPPLIBEXPORT int SML_InstallStringFunctions(SMLCONTEXT *context);
00174 RVCAPPLIBEXPORT int SML_InstallPrintToBufferFunctions(SMLCONTEXT *context);
00175 int SML_InstallPopupFunctions(SMLCONTEXT *context);
00176 int SML_InstallPortClasses(SMLCONTEXT *context);
00177 int SML_InstallPortFunctions(SMLCONTEXT *context);
00178 int SML_InstallFileClasses(SMLCONTEXT *context);
00179 int SML_InstallFileFunctions(SMLCONTEXT *context);
00180 int SML_InstallIniFileClasses(SMLCONTEXT *context);
00181 int SML_InstallIniFileFunctions(SMLCONTEXT *context);
00182 int SML_InstallIniPortClasses(SMLCONTEXT *context);
00183 int SML_InstallIniPortFunctions(SMLCONTEXT *context);
00184 int SML_InstallStandardClasses(SMLCONTEXT *context);
00185 int SML_InstallColorPaletteFunctions(SMLCONTEXT *context);
00186 int SML_InstallStyleFunctions(SMLCONTEXT *context);
00187 int SML_InstallSystemFunctions(SMLCONTEXT *context);
00188
00189 int SML_InstallWidgetClasses(SMLCONTEXT *);
00190 int SML_InstallWidgetFunctions(SMLCONTEXT *);
00191 int SML_InstallTipClasses(SMLCONTEXT *);
00192 int SML_InstallTipFunctions(SMLCONTEXT *);
00193
00194 int SML_InstallMgdFuncs(SMLCONTEXT *);
00195 int SML_InstallMgdClasses(SMLCONTEXT *);
00196 int SML_InstallInternalSymbolFuncs(SMLCONTEXT *);
00197 int _SML_InstallDBEDITFuncs(SMLCONTEXT *);
00198 int _SML_InstallDBEDITClasses(SMLCONTEXT *);
00199 int _SML_InstallMdispFuncs(SMLCONTEXT *);
00200 int _SML_InstallMdispClasses(SMLCONTEXT *);
00201 int _SML_InstallMdispLayerFuncs(SMLCONTEXT *);
00202 int _SML_InstallMxdwFuncs(SMLCONTEXT *);
00203
00204 #if defined(WIN32_MFC) || !defined(WIN32_NATIVE)
00205 int SML_InstallGPSClasses(SMLCONTEXT *context);
00206 int SML_InstallGPSFunctions(SMLCONTEXT *context);
00207 #endif
00208 int SML_InstallGeoFormulaFunctionList(SMLCONTEXT *context);
00209 int SML_InstallRunFunctions(SMLCONTEXT *);
00210
00211 int SML_InstallNetworkClasses(SMLCONTEXT *);
00212 int SML_InstallNetworkFunctions(SMLCONTEXT *);
00213
00214 int SML_InstallWatershedClasses(SMLCONTEXT *);
00215 int SML_InstallWatershedFunctions(SMLCONTEXT *);
00216
00217 int SML_InstallMovieClasses(SMLCONTEXT *);
00218 int SML_InstallMovieFunctions(SMLCONTEXT *);
00219
00220 int SML_InstallFrameClasses(SMLCONTEXT *);
00221 int SML_InstallFrameFunctions(SMLCONTEXT *);
00222
00223 int SML_InstallSurfaceFunctions(SMLCONTEXT *);
00224
00225 int SML_InstallTNTsim3DClass(SMLCONTEXT *);
00226
00227 int SML_InstallTriangulatorFunctions(SMLCONTEXT *);
00228
00229
00230 RVCAPPLIBEXPORT int SML_ResolveClassMembers(SMLCONTEXT *);
00231
00232 RVCAPPLIBEXPORT int SML_InstallAutoClassesCompField (SMLCONTEXT* context);
00233 RVCAPPLIBEXPORT int SML_InstallAutoClassesSelectQuery (SMLCONTEXT* context);
00234 RVCAPPLIBEXPORT int SML_InstallAutoClassesStyleQuery (SMLCONTEXT* context);
00235 RVCAPPLIBEXPORT int SML_InstallAutoClassesDispLayer (SMLCONTEXT* context);
00236 RVCAPPLIBEXPORT int SML_InstallAutoClassesGeoFormula (SMLCONTEXT* context);
00237 RVCAPPLIBEXPORT int SML_InstallAutoClassesPinMap (SMLCONTEXT* context);
00238 RVCAPPLIBEXPORT int SML_InstallAutoClassesSML (SMLCONTEXT* context);
00239 int SML_InstallGUIControlClasses(SMLCONTEXT *);
00240 int SML_InstallGUIDataClasses(SMLCONTEXT *);
00241 int SML_InstallXMLClasses(SMLCONTEXT *);
00242
00243
00244 #endif
00245
00246
00247 #ifdef SML_DEFINE_QUERY_MIN_FUNC_LIST
00248
00249
00250
00251
00252
00253
00254 SMLFUNCINSTALLER SML_QueryMinFuncList[] = {
00255 _qq_install_math_functions,
00256 SML_InstallStringFunctions,
00257 SML_InstallObjectFunctions,
00258 SML_InstallAutoClassesCompField,
00259 NULL
00260 };
00261
00262 #endif
00263
00264
00265 #ifdef SML_DEFINE_QUERY_FUNC_LIST
00266
00267
00268
00269
00270
00271
00272
00273
00274
00275
00276
00277
00278
00279 SMLFUNCINSTALLER SML_ClassList[] = {
00280 SML_InstallStandardClasses,
00281 SML_InstallObjectClasses,
00282 SML_InstallFileClasses,
00283 SML_InstallPortClasses,
00284 SML_InstallIniFileClasses,
00285 SML_InstallRasterClasses,
00286 SML_InstallVectorClasses,
00287 SML_InstallMgdClasses,
00288 SML_InstallGeorefClasses,
00289 SML_InstallSpatRefClasses,
00290 SML_InstallNetworkClasses,
00291 SML_InstallAutoClassesCompField,
00292 SML_InstallAutoClassesSelectQuery,
00293 SML_InstallAutoClassesStyleQuery,
00294 SML_InstallAutoClassesDispLayer,
00295 SML_InstallAutoClassesPinMap,
00296 SML_InstallAutoClassesSML,
00297
00298 SML_InstallGUIControlClasses,
00299 SML_InstallXMLClasses,
00300 SML_ResolveClassMembers,
00301 NULL
00302 };
00303
00304
00305
00306
00307
00308
00309
00310
00311
00312
00313
00314 SMLFUNCINSTALLER SML_QueryFuncList[] = {
00315 _qq_install_matrix_functions,
00316 SML_InstallGeorefFunctions,
00317 SML_InstallSpatRefClasses,
00318 SML_InstallColorPaletteFunctions,
00319 SML_InstallStyleFunctions,
00320 SML_InstallSystemFunctions,
00321 SML_InstallColorConversionFunctions,
00322 SML_InstallVectorFunctions,
00323 SML_InstallPopupFunctions,
00324 SML_InstallFileFunctions,
00325 SML_InstallPortFunctions,
00326 SML_InstallIniFileFunctions,
00327 NULL
00328 };
00329
00330
00331
00332
00333
00334
00335
00336
00337
00338 SMLFUNCINSTALLER SML_StyleQueryAdditionalFuncList[] = {
00339 SML_InstallPointSymbolFunctions,
00340 _qq_install_linestyle_functions,
00341 SML_InstallPrintToBufferFunctions,
00342 NULL
00343 };
00344
00345 #endif
00346
00347
00348 #ifdef SML_DEFINE_GEOFORMULA_FUNC_LIST
00349
00350
00351
00352
00353
00354
00355
00356
00357
00358
00359
00360
00361
00362
00363 SMLFUNCINSTALLER SML_GeoFormulaFuncList[] = {
00364 SML_InstallAutoClassesGeoFormula,
00365 #ifdef X_NATIVE
00366 SML_InstallObjectConversionFunctions,
00367 #endif
00368 SML_InstallRasterFunctions,
00369 SML_InstallFilterFunctions,
00370 SML_InstallCADFunctions,
00371 SML_InstallTINFunctions,
00372 SML_InstallVectorToolkitFunctions,
00373 SML_InstallRegionFunctions,
00374 SML_InstallClassifyFunctions,
00375 SML_InstallFFTClasses,
00376 NULL
00377 };
00378
00379 #endif
00380
00381
00382 #ifdef SML_DEFINE_SML_FUNC_LIST
00383
00384
00385
00386
00387
00388
00389
00390
00391
00392
00393
00394
00395
00396 SMLFUNCINSTALLER SML_SMLFuncList[] = {
00397
00398 SML_InstallObjectConversionFunctions,
00399 SML_InstallRasterFunctions,
00400 SML_InstallFilterFunctions,
00401 SML_InstallCADFunctions,
00402 SML_InstallTINFunctions,
00403 SML_InstallVectorToolkitFunctions,
00404 SML_InstallRegionFunctions,
00405 SML_InstallClassifyFunctions,
00406 SML_InstallConsoleFunctions,
00407 SML_InstallMgdFuncs,
00408 SML_InstallInternalSymbolFuncs,
00409 SML_InstallWidgetClasses,
00410 SML_InstallWidgetFunctions,
00411 SML_InstallWatershedClasses,
00412 SML_InstallWatershedFunctions,
00413 SML_InstallFrameClasses,
00414 SML_InstallFrameFunctions,
00415 #if defined(X_NATIVE) || defined(WIN32_MFC)
00416 SML_InstallTipClasses,
00417 SML_InstallTipFunctions,
00418 #endif
00419 SML_InstallSurfaceFunctions,
00420 SML_InstallFFTClasses,
00421 SML_InstallTNTsim3DClass,
00422 SML_InstallTriangulatorFunctions,
00423 _qq_install_linestyle_functions,
00424
00425 SML_InstallRunFunctions,
00426
00427 NULL
00428 };
00429
00430
00431 #endif
00432
00433
00434 #ifdef SML_DEFINE_SML_TNTDISP_ONLY_FUNCS
00435
00436 SMLFUNCINSTALLER SML_TNTDispFuncList[] = {
00437 SML_InstallMovieClasses,
00438 SML_InstallMovieFunctions,
00439 NULL
00440 };
00441
00442
00443 #endif
00444
00445 #if defined(__cplusplus)
00446 }
00447 #endif
00448
00449 #endif
00450
00451 #endif
00452