| 1 | #cxx . . $ `<file>/libs/qCC_io/extern/shapelib/shapefil.h`/ifndef SHAPEFILE_H_INCLUDED |
| 2 | #define SHAPEFILE_H_INCLUDEDcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:2:9`! |
| 3 | |
| 4 | /****************************************************************************** |
| 5 | * $Id$ |
| 6 | * |
| 7 | * Project: Shapelib |
| 8 | * Purpose: Primary include file for Shapelib. |
| 9 | * Author: Frank Warmerdam, [email protected] |
| 10 | * |
| 11 | ****************************************************************************** |
| 12 | * Copyright (c) 1999, Frank Warmerdam |
| 13 | * Copyright (c) 2012-2016, Even Rouault <even dot rouault at mines-paris dot org> |
| 14 | * |
| 15 | * This software is available under the following "MIT Style" license, |
| 16 | * or at the option of the licensee under the LGPL (see COPYING). This |
| 17 | * option is discussed in more detail in shapelib.html. |
| 18 | * |
| 19 | * -- |
| 20 | * |
| 21 | * Permission is hereby granted, free of charge, to any person obtaining a |
| 22 | * copy of this software and associated documentation files (the "Software"), |
| 23 | * to deal in the Software without restriction, including without limitation |
| 24 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 25 | * and/or sell copies of the Software, and to permit persons to whom the |
| 26 | * Software is furnished to do so, subject to the following conditions: |
| 27 | * |
| 28 | * The above copyright notice and this permission notice shall be included |
| 29 | * in all copies or substantial portions of the Software. |
| 30 | * |
| 31 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 32 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 33 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 34 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 35 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING |
| 36 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
| 37 | * DEALINGS IN THE SOFTWARE. |
| 38 | ****************************************************************************** |
| 39 | * |
| 40 | * $Log$ |
| 41 | * Revision 1.56 2018-08-16 15:39:07 erouault |
| 42 | * * shpopen.c, dbfopen.c, shptree.c, sbnsearch.c: resyc with GDAL |
| 43 | * internal shapelib. Mostly to allow building those files as C++ |
| 44 | * without warning. Also add FTDate entry in DBFFieldType |
| 45 | * (see https://github.com/OSGeo/gdal/pull/308). And some other |
| 46 | * code cleanups |
| 47 | * |
| 48 | * Revision 1.55 2016-12-05 18:44:08 erouault |
| 49 | * * dbfopen.c, shapefil.h: write DBF end-of-file character 0x1A by default. |
| 50 | * This behaviour can be controlled with the DBFSetWriteEndOfFileChar() |
| 51 | * function. |
| 52 | * |
| 53 | * Revision 1.54 2016-12-05 12:44:05 erouault |
| 54 | * * Major overhaul of Makefile build system to use autoconf/automake. |
| 55 | * |
| 56 | * * Warning fixes in contrib/ |
| 57 | * |
| 58 | * Revision 1.53 2016-12-04 15:30:15 erouault |
| 59 | * * shpopen.c, dbfopen.c, shptree.c, shapefil.h: resync with |
| 60 | * GDAL Shapefile driver. Mostly cleanups. SHPObject and DBFInfo |
| 61 | * structures extended with new members. New functions: |
| 62 | * DBFSetLastModifiedDate, SHPOpenLLEx, SHPRestoreSHX, |
| 63 | * SHPSetFastModeReadObject |
| 64 | * |
| 65 | * * sbnsearch.c: new file to implement original ESRI .sbn spatial |
| 66 | * index reading. (no write support). New functions: |
| 67 | * SBNOpenDiskTree, SBNCloseDiskTree, SBNSearchDiskTree, |
| 68 | * SBNSearchDiskTreeInteger, SBNSearchFreeIds |
| 69 | * |
| 70 | * * Makefile, makefile.vc, CMakeLists.txt, shapelib.def: updates |
| 71 | * with new file and symbols. |
| 72 | * |
| 73 | * * commit: helper script to cvs commit |
| 74 | * |
| 75 | * Revision 1.52 2011-12-11 22:26:46 fwarmerdam |
| 76 | * upgrade .qix access code to use SAHooks (gdal #3365) |
| 77 | * |
| 78 | * Revision 1.51 2011-07-24 05:59:25 fwarmerdam |
| 79 | * minimize use of CPLError in favor of SAHooks.Error() |
| 80 | * |
| 81 | * Revision 1.50 2011-05-13 17:35:17 fwarmerdam |
| 82 | * added DBFReorderFields() and DBFAlterFields() functions (from Even) |
| 83 | * |
| 84 | * Revision 1.49 2011-04-16 14:38:21 fwarmerdam |
| 85 | * avoid warnings with gcc on SHP_CVSID |
| 86 | * |
| 87 | * Revision 1.48 2010-08-27 23:42:52 fwarmerdam |
| 88 | * add SHPAPI_CALL attribute in code |
| 89 | * |
| 90 | * Revision 1.47 2010-01-28 11:34:34 fwarmerdam |
| 91 | * handle the shape file length limits more gracefully (#3236) |
| 92 | * |
| 93 | * Revision 1.46 2008-11-12 14:28:15 fwarmerdam |
| 94 | * DBFCreateField() now works on files with records |
| 95 | * |
| 96 | * Revision 1.45 2008/11/11 17:47:10 fwarmerdam |
| 97 | * added DBFDeleteField() function |
| 98 | * |
| 99 | * Revision 1.44 2008/01/16 20:05:19 bram |
| 100 | * Add file hooks that accept UTF-8 encoded filenames on some platforms. Use SASetupUtf8Hooks |
| 101 | * tosetup the hooks and check SHPAPI_UTF8_HOOKS for its availability. Currently, this |
| 102 | * is only available on the Windows platform that decodes the UTF-8 filenames to wide |
| 103 | * character strings and feeds them to _wfopen and _wremove. |
| 104 | * |
| 105 | * Revision 1.43 2008/01/10 16:35:30 fwarmerdam |
| 106 | * avoid _ prefix on #defined symbols (bug 1840) |
| 107 | * |
| 108 | * Revision 1.42 2007/12/18 18:28:14 bram |
| 109 | * - create hook for client specific atof (bugzilla ticket 1615) |
| 110 | * - check for NULL handle before closing cpCPG file, and close after reading. |
| 111 | * |
| 112 | * Revision 1.41 2007/12/15 20:25:32 bram |
| 113 | * dbfopen.c now reads the Code Page information from the DBF file, and exports |
| 114 | * this information as a string through the DBFGetCodePage function. This is |
| 115 | * either the number from the LDID header field ("LDID/<number>") or as the |
| 116 | * content of an accompanying .CPG file. When creating a DBF file, the code can |
| 117 | * be set using DBFCreateEx. |
| 118 | * |
| 119 | * Revision 1.40 2007/12/06 07:00:25 fwarmerdam |
| 120 | * dbfopen now using SAHooks for fileio |
| 121 | * |
| 122 | * Revision 1.39 2007/12/04 20:37:56 fwarmerdam |
| 123 | * preliminary implementation of hooks api for io and errors |
| 124 | * |
| 125 | * Revision 1.38 2007/11/21 22:39:56 fwarmerdam |
| 126 | * close shx file in readonly mode (GDAL #1956) |
| 127 | * |
| 128 | * Revision 1.37 2007/10/27 03:31:14 fwarmerdam |
| 129 | * limit default depth of tree to 12 levels (gdal ticket #1594) |
| 130 | * |
| 131 | * Revision 1.36 2007/09/10 23:33:15 fwarmerdam |
| 132 | * Upstreamed support for visibility flag in SHPAPI_CALL for the needs |
| 133 | * of GDAL (gdal ticket #1810). |
| 134 | * |
| 135 | * Revision 1.35 2007/09/03 19:48:10 fwarmerdam |
| 136 | * move DBFReadAttribute() static dDoubleField into dbfinfo |
| 137 | * |
| 138 | * Revision 1.34 2006/06/17 15:33:32 fwarmerdam |
| 139 | * added pszWorkField - bug 1202 (rso) |
| 140 | * |
| 141 | * Revision 1.33 2006/02/15 01:14:30 fwarmerdam |
| 142 | * added DBFAddNativeFieldType |
| 143 | * |
| 144 | * Revision 1.32 2006/01/26 15:07:32 fwarmerdam |
| 145 | * add bMeasureIsUsed flag from Craig Bruce: Bug 1249 |
| 146 | * |
| 147 | * Revision 1.31 2006/01/05 01:27:27 fwarmerdam |
| 148 | * added dbf deletion mark/fetch |
| 149 | * |
| 150 | * Revision 1.30 2005/01/03 22:30:13 fwarmerdam |
| 151 | * added support for saved quadtrees |
| 152 | * |
| 153 | * Revision 1.29 2004/09/26 20:09:35 fwarmerdam |
| 154 | * avoid rcsid warnings |
| 155 | * |
| 156 | * Revision 1.28 2003/12/29 06:02:18 fwarmerdam |
| 157 | * added cpl_error.h option |
| 158 | * |
| 159 | * Revision 1.27 2003/04/21 18:30:37 warmerda |
| 160 | * added header write/update public methods |
| 161 | * |
| 162 | * Revision 1.26 2002/09/29 00:00:08 warmerda |
| 163 | * added FTLogical and logical attribute read/write calls |
| 164 | * |
| 165 | * Revision 1.25 2002/05/07 13:46:30 warmerda |
| 166 | * added DBFWriteAttributeDirectly(). |
| 167 | * |
| 168 | * Revision 1.24 2002/04/10 16:59:54 warmerda |
| 169 | * added SHPRewindObject |
| 170 | * |
| 171 | * Revision 1.23 2002/01/15 14:36:07 warmerda |
| 172 | * updated email address |
| 173 | * |
| 174 | * Revision 1.22 2002/01/15 14:32:00 warmerda |
| 175 | * try to improve SHPAPI_CALL docs |
| 176 | */ |
| 177 | |
| 178 | #include <stdio.h> |
| 179 | |
| 180 | #ifdef USE_DBMALLOC |
| 181 | #include <dbmalloc.h> |
| 182 | #endif |
| 183 | |
| 184 | #ifdef USE_CPL |
| 185 | #include "cpl_conv.h" |
| 186 | #endif |
| 187 | |
| 188 | #ifdef __cpluspluscxx . . $ `<built-in>:450:9`! |
| 189 | extern "C" { |
| 190 | #endif |
| 191 | |
| 192 | /************************************************************************/ |
| 193 | /* Configuration options. */ |
| 194 | /************************************************************************/ |
| 195 | |
| 196 | /* -------------------------------------------------------------------- */ |
| 197 | /* Should the DBFReadStringAttribute() strip leading and */ |
| 198 | /* trailing white space? */ |
| 199 | /* -------------------------------------------------------------------- */ |
| 200 | #define TRIM_DBF_WHITESPACEcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:200:9`! |
| 201 | |
| 202 | /* -------------------------------------------------------------------- */ |
| 203 | /* Should we write measure values to the Multipatch object? */ |
| 204 | /* Reportedly ArcView crashes if we do write it, so for now it */ |
| 205 | /* is disabled. */ |
| 206 | /* -------------------------------------------------------------------- */ |
| 207 | #define DISABLE_MULTIPATCH_MEASUREcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:207:9`! |
| 208 | |
| 209 | /* -------------------------------------------------------------------- */ |
| 210 | /* SHPAPI_CALL */ |
| 211 | /* */ |
| 212 | /* The following two macros are present to allow forcing */ |
| 213 | /* various calling conventions on the Shapelib API. */ |
| 214 | /* */ |
| 215 | /* To force __stdcall conventions (needed to call Shapelib */ |
| 216 | /* from Visual Basic and/or Dephi I believe) the makefile could */ |
| 217 | /* be modified to define: */ |
| 218 | /* */ |
| 219 | /* /DSHPAPI_CALL=__stdcall */ |
| 220 | /* */ |
| 221 | /* If it is desired to force export of the Shapelib API without */ |
| 222 | /* using the shapelib.def file, use the following definition. */ |
| 223 | /* */ |
| 224 | /* /DSHAPELIB_DLLEXPORT */ |
| 225 | /* */ |
| 226 | /* To get both at once it will be necessary to hack this */ |
| 227 | /* include file to define: */ |
| 228 | /* */ |
| 229 | /* #define SHPAPI_CALL __declspec(dllexport) __stdcall */ |
| 230 | /* #define SHPAPI_CALL1 __declspec(dllexport) * __stdcall */ |
| 231 | /* */ |
| 232 | /* The complexity of the situation is partly caused by the */ |
| 233 | /* peculiar requirement of Visual C++ that __stdcall appear */ |
| 234 | /* after any "*"'s in the return value of a function while the */ |
| 235 | /* __declspec(dllexport) must appear before them. */ |
| 236 | /* -------------------------------------------------------------------- */ |
| 237 | |
| 238 | #ifdef SHAPELIB_DLLEXPORT |
| 239 | # define SHPAPI_CALL __declspec(dllexport) |
| 240 | # define SHPAPI_CALL1(x) __declspec(dllexport) x |
| 241 | #endif |
| 242 | |
| 243 | #ifndef SHPAPI_CALL |
| 244 | # if defined(USE_GCC_VISIBILITY_FLAG) |
| 245 | # define SHPAPI_CALL __attribute__ ((visibility("default"))) |
| 246 | # define SHPAPI_CALL1(x) __attribute__ ((visibility("default"))) x |
| 247 | # else |
| 248 | # define SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 249 | # endif |
| 250 | #endif |
| 251 | |
| 252 | #ifndef SHPAPI_CALL1 |
| 253 | # define SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(x) x SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 254 | #endif |
| 255 | |
| 256 | /* -------------------------------------------------------------------- */ |
| 257 | /* Macros for controlling CVSID and ensuring they don't appear */ |
| 258 | /* as unreferenced variables resulting in lots of warnings. */ |
| 259 | /* -------------------------------------------------------------------- */ |
| 260 | #ifndef DISABLE_CVSID |
| 261 | # if defined(__GNUC__cxx . . $ `<built-in>:8:9`!) && __GNUC__cxx . . $ `<built-in>:8:9`! >= 4 |
| 262 | # define SHP_CVSIDcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:262:13`!(string) static const char cpl_cvsid[] __attribute__((used)) = string; |
| 263 | # else |
| 264 | # define SHP_CVSID(string) static const char cpl_cvsid[] = string; \ |
| 265 | static const char *cvsid_aw() { return( cvsid_aw() ? NULL : cpl_cvsid ); } |
| 266 | # endif |
| 267 | #else |
| 268 | # define SHP_CVSID(string) |
| 269 | #endif |
| 270 | |
| 271 | /* -------------------------------------------------------------------- */ |
| 272 | /* On some platforms, additional file IO hooks are defined that */ |
| 273 | /* UTF-8 encoded filenames Unicode filenames */ |
| 274 | /* -------------------------------------------------------------------- */ |
| 275 | #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
| 276 | # define SHPAPI_WINDOWS |
| 277 | # define SHPAPI_UTF8_HOOKS |
| 278 | #endif |
| 279 | |
| 280 | /* -------------------------------------------------------------------- */ |
| 281 | /* IO/Error hook functions. */ |
| 282 | /* -------------------------------------------------------------------- */ |
| 283 | typedef int *SAFilecxx . . $ SAFile#; |
| 284 | |
| 285 | #ifndef SAOffset |
| 286 | typedef unsigned long SAOffsetcxx . . $ SAOffset#; |
| 287 | #endif |
| 288 | |
| 289 | typedef structcxx . . $ $anonymous_type_aed2aca5ac3e792b_0# { |
| 290 | SAFilecxx . . $ SAFile# (*FOpencxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FOpen.) ( const char *filename, const char *access); |
| 291 | SAOffsetcxx . . $ SAOffset# (*FReadcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FRead.) ( void *p, SAOffsetcxx . . $ SAOffset# size, SAOffsetcxx . . $ SAOffset# nmemb, SAFilecxx . . $ SAFile# file); |
| 292 | SAOffsetcxx . . $ SAOffset# (*FWritecxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FWrite.)( void *p, SAOffsetcxx . . $ SAOffset# size, SAOffsetcxx . . $ SAOffset# nmemb, SAFilecxx . . $ SAFile# file); |
| 293 | SAOffsetcxx . . $ SAOffset# (*FSeekcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FSeek.) ( SAFilecxx . . $ SAFile# file, SAOffsetcxx . . $ SAOffset# offset, int whence ); |
| 294 | SAOffsetcxx . . $ SAOffset# (*FTellcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FTell.) ( SAFilecxx . . $ SAFile# file ); |
| 295 | int (*FFlushcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FFlush.)( SAFilecxx . . $ SAFile# file ); |
| 296 | int (*FClosecxx . . $ $anonymous_type_aed2aca5ac3e792b_0#FClose.)( SAFilecxx . . $ SAFile# file ); |
| 297 | int (*Removecxx . . $ $anonymous_type_aed2aca5ac3e792b_0#Remove.) ( const char *filename ); |
| 298 | |
| 299 | void (*Errorcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#Error.) ( const char *message ); |
| 300 | double (*Atofcxx . . $ $anonymous_type_aed2aca5ac3e792b_0#Atof.) ( const char *str ); |
| 301 | } SAHookscxx . . $ SAHooks#; |
| 302 | |
| 303 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! SASetupDefaultHookscxx . . $ SASetupDefaultHooks(1f62188c767a0099).( SAHookscxx . . $ SAHooks# *psHooks ); |
| 304 | #ifdef SHPAPI_UTF8_HOOKS |
| 305 | void SHPAPI_CALL SASetupUtf8Hooks( SAHooks *psHooks ); |
| 306 | #endif |
| 307 | |
| 308 | /************************************************************************/ |
| 309 | /* SHP Support. */ |
| 310 | /************************************************************************/ |
| 311 | typedef struct tagSHPObjectcxx . . $ tagSHPObject# SHPObjectcxx . . $ SHPObject#; |
| 312 | |
| 313 | typedef structcxx . . $ $anonymous_type_aed2aca5ac3e792b_1# |
| 314 | { |
| 315 | SAHookscxx . . $ SAHooks# sHookscxx . . $ $anonymous_type_aed2aca5ac3e792b_1#sHooks.; |
| 316 | |
| 317 | SAFilecxx . . $ SAFile# fpSHPcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#fpSHP.; |
| 318 | SAFilecxx . . $ SAFile# fpSHXcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#fpSHX.; |
| 319 | |
| 320 | int nShapeTypecxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nShapeType.; /* SHPT_* */ |
| 321 | |
| 322 | unsigned int nFileSizecxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nFileSize.; /* SHP file */ |
| 323 | |
| 324 | int nRecordscxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nRecords.; |
| 325 | int nMaxRecordscxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nMaxRecords.; |
| 326 | unsigned int*panRecOffsetcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#panRecOffset.; |
| 327 | unsigned int *panRecSizecxx . . $ $anonymous_type_aed2aca5ac3e792b_1#panRecSize.; |
| 328 | |
| 329 | double adBoundsMincxx . . $ $anonymous_type_aed2aca5ac3e792b_1#adBoundsMin.[4]; |
| 330 | double adBoundsMaxcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#adBoundsMax.[4]; |
| 331 | |
| 332 | int bUpdatedcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#bUpdated.; |
| 333 | |
| 334 | unsigned char *pabyReccxx . . $ $anonymous_type_aed2aca5ac3e792b_1#pabyRec.; |
| 335 | int nBufSizecxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nBufSize.; |
| 336 | |
| 337 | int bFastModeReadObjectcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#bFastModeReadObject.; |
| 338 | unsigned char *pabyObjectBufcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#pabyObjectBuf.; |
| 339 | int nObjectBufSizecxx . . $ $anonymous_type_aed2aca5ac3e792b_1#nObjectBufSize.; |
| 340 | SHPObjectcxx . . $ SHPObject#* psCachedObjectcxx . . $ $anonymous_type_aed2aca5ac3e792b_1#psCachedObject.; |
| 341 | } SHPInfocxx . . $ SHPInfo#; |
| 342 | |
| 343 | typedef SHPInfocxx . . $ SHPInfo# * SHPHandlecxx . . $ SHPHandle#; |
| 344 | |
| 345 | /* -------------------------------------------------------------------- */ |
| 346 | /* Shape types (nSHPType) */ |
| 347 | /* -------------------------------------------------------------------- */ |
| 348 | #define SHPT_NULLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:348:9`! 0 |
| 349 | #define SHPT_POINTcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:349:9`! 1 |
| 350 | #define SHPT_ARCcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:350:9`! 3 |
| 351 | #define SHPT_POLYGONcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:351:9`! 5 |
| 352 | #define SHPT_MULTIPOINTcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:352:9`! 8 |
| 353 | #define SHPT_POINTZcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:353:9`! 11 |
| 354 | #define SHPT_ARCZcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:354:9`! 13 |
| 355 | #define SHPT_POLYGONZcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:355:9`! 15 |
| 356 | #define SHPT_MULTIPOINTZcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:356:9`! 18 |
| 357 | #define SHPT_POINTMcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:357:9`! 21 |
| 358 | #define SHPT_ARCMcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:358:9`! 23 |
| 359 | #define SHPT_POLYGONMcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:359:9`! 25 |
| 360 | #define SHPT_MULTIPOINTMcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:360:9`! 28 |
| 361 | #define SHPT_MULTIPATCHcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:361:9`! 31 |
| 362 | |
| 363 | /* -------------------------------------------------------------------- */ |
| 364 | /* Part types - everything but SHPT_MULTIPATCH just uses */ |
| 365 | /* SHPP_RING. */ |
| 366 | /* -------------------------------------------------------------------- */ |
| 367 | |
| 368 | #define SHPP_TRISTRIPcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:368:9`! 0 |
| 369 | #define SHPP_TRIFANcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:369:9`! 1 |
| 370 | #define SHPP_OUTERRINGcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:370:9`! 2 |
| 371 | #define SHPP_INNERRINGcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:371:9`! 3 |
| 372 | #define SHPP_FIRSTRINGcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:372:9`! 4 |
| 373 | #define SHPP_RINGcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:373:9`! 5 |
| 374 | |
| 375 | /* -------------------------------------------------------------------- */ |
| 376 | /* SHPObject - represents on shape (without attributes) read */ |
| 377 | /* from the .shp file. */ |
| 378 | /* -------------------------------------------------------------------- */ |
| 379 | struct tagSHPObjectcxx . . $ tagSHPObject# |
| 380 | { |
| 381 | int nSHPTypecxx . . $ tagSHPObject#nSHPType.; |
| 382 | |
| 383 | int nShapeIdcxx . . $ tagSHPObject#nShapeId.; /* -1 is unknown/unassigned */ |
| 384 | |
| 385 | int nPartscxx . . $ tagSHPObject#nParts.; |
| 386 | int *panPartStartcxx . . $ tagSHPObject#panPartStart.; |
| 387 | int *panPartTypecxx . . $ tagSHPObject#panPartType.; |
| 388 | |
| 389 | int nVerticescxx . . $ tagSHPObject#nVertices.; |
| 390 | double *padfXcxx . . $ tagSHPObject#padfX.; |
| 391 | double *padfYcxx . . $ tagSHPObject#padfY.; |
| 392 | double *padfZcxx . . $ tagSHPObject#padfZ.; |
| 393 | double *padfMcxx . . $ tagSHPObject#padfM.; |
| 394 | |
| 395 | double dfXMincxx . . $ tagSHPObject#dfXMin.; |
| 396 | double dfYMincxx . . $ tagSHPObject#dfYMin.; |
| 397 | double dfZMincxx . . $ tagSHPObject#dfZMin.; |
| 398 | double dfMMincxx . . $ tagSHPObject#dfMMin.; |
| 399 | |
| 400 | double dfXMaxcxx . . $ tagSHPObject#dfXMax.; |
| 401 | double dfYMaxcxx . . $ tagSHPObject#dfYMax.; |
| 402 | double dfZMaxcxx . . $ tagSHPObject#dfZMax.; |
| 403 | double dfMMaxcxx . . $ tagSHPObject#dfMMax.; |
| 404 | |
| 405 | int bMeasureIsUsedcxx . . $ tagSHPObject#bMeasureIsUsed.; |
| 406 | int bFastModeReadObjectcxx . . $ tagSHPObject#bFastModeReadObject.; |
| 407 | }; |
| 408 | |
| 409 | /* -------------------------------------------------------------------- */ |
| 410 | /* SHP API Prototypes */ |
| 411 | /* -------------------------------------------------------------------- */ |
| 412 | |
| 413 | /* If pszAccess is read-only, the fpSHX field of the returned structure */ |
| 414 | /* will be NULL as it is not necessary to keep the SHX file open */ |
| 415 | SHPHandlecxx . . $ SHPHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 416 | SHPOpencxx . . $ SHPOpen(db028db2db8c3c02).( const char * pszShapeFile, const char * pszAccess ); |
| 417 | SHPHandlecxx . . $ SHPHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 418 | SHPOpenLLcxx . . $ SHPOpenLL(ada0532dc53bd67f).( const char *pszShapeFile, const char *pszAccess, |
| 419 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 420 | SHPHandlecxx . . $ SHPHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 421 | SHPOpenLLExcxx . . $ SHPOpenLLEx(4ae14aecb84126d7).( const char *pszShapeFile, const char *pszAccess, |
| 422 | SAHookscxx . . $ SAHooks# *psHooks, int bRestoreSHX ); |
| 423 | |
| 424 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 425 | SHPRestoreSHXcxx . . $ SHPRestoreSHX(a0bef6d955c46ce4).( const char *pszShapeFile, const char *pszAccess, |
| 426 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 427 | |
| 428 | /* If setting bFastMode = TRUE, the content of SHPReadObject() is owned by the SHPHandle. */ |
| 429 | /* So you cannot have 2 valid instances of SHPReadObject() simultaneously. */ |
| 430 | /* The SHPObject padfZ and padfM members may be NULL depending on the geometry */ |
| 431 | /* type. It is illegal to free at hand any of the pointer members of the SHPObject structure */ |
| 432 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! SHPSetFastModeReadObjectcxx . . $ SHPSetFastModeReadObject(ac1ebdf91337f576).( SHPHandlecxx . . $ SHPHandle# hSHP, int bFastMode ); |
| 433 | |
| 434 | SHPHandlecxx . . $ SHPHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 435 | SHPCreatecxx . . $ SHPCreate(42435f18c6f74751).( const char * pszShapeFile, int nShapeType ); |
| 436 | SHPHandlecxx . . $ SHPHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 437 | SHPCreateLLcxx . . $ SHPCreateLL(1b598687616ae7f7).( const char * pszShapeFile, int nShapeType, |
| 438 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 439 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 440 | SHPGetInfocxx . . $ SHPGetInfo(df0c8f78af0fddc).( SHPHandlecxx . . $ SHPHandle# hSHP, int * pnEntities, int * pnShapeType, |
| 441 | double * padfMinBound, double * padfMaxBound ); |
| 442 | |
| 443 | SHPObjectcxx . . $ SHPObject# SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 444 | SHPReadObjectcxx . . $ SHPReadObject(b2d8285ba7cc6e59).( SHPHandlecxx . . $ SHPHandle# hSHP, int iShape ); |
| 445 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 446 | SHPWriteObjectcxx . . $ SHPWriteObject(c07263ef7601d3f0).( SHPHandlecxx . . $ SHPHandle# hSHP, int iShape, SHPObjectcxx . . $ SHPObject# * psObject ); |
| 447 | |
| 448 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 449 | SHPDestroyObjectcxx . . $ SHPDestroyObject(1e0d3ce978651003).( SHPObjectcxx . . $ SHPObject# * psObject ); |
| 450 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 451 | SHPComputeExtentscxx . . $ SHPComputeExtents(1e0d3ce978651003).( SHPObjectcxx . . $ SHPObject# * psObject ); |
| 452 | SHPObjectcxx . . $ SHPObject# SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 453 | SHPCreateObjectcxx . . $ SHPCreateObject(3eab98da19964774).( int nSHPType, int nShapeId, int nParts, |
| 454 | const int * panPartStart, const int * panPartType, |
| 455 | int nVertices, |
| 456 | const double * padfX, const double * padfY, |
| 457 | const double * padfZ, const double * padfM ); |
| 458 | SHPObjectcxx . . $ SHPObject# SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 459 | SHPCreateSimpleObjectcxx . . $ SHPCreateSimpleObject(ed46b05fb1002b72).( int nSHPType, int nVertices, |
| 460 | const double * padfX, |
| 461 | const double * padfY, |
| 462 | const double * padfZ ); |
| 463 | |
| 464 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 465 | SHPRewindObjectcxx . . $ SHPRewindObject(a2edbf063c786d06).( SHPHandlecxx . . $ SHPHandle# hSHP, SHPObjectcxx . . $ SHPObject# * psObject ); |
| 466 | |
| 467 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! SHPClosecxx . . $ SHPClose(4ec1bb8300a1af42).( SHPHandlecxx . . $ SHPHandle# hSHP ); |
| 468 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! SHPWriteHeadercxx . . $ SHPWriteHeader(4ec1bb8300a1af42).( SHPHandlecxx . . $ SHPHandle# hSHP ); |
| 469 | |
| 470 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 471 | SHPTypeNamecxx . . $ SHPTypeName(f7ae7e56280f18ae).( int nSHPType ); |
| 472 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 473 | SHPPartTypeNamecxx . . $ SHPPartTypeName(f7ae7e56280f18ae).( int nPartType ); |
| 474 | |
| 475 | /* -------------------------------------------------------------------- */ |
| 476 | /* Shape quadtree indexing API. */ |
| 477 | /* -------------------------------------------------------------------- */ |
| 478 | |
| 479 | /* this can be two or four for binary or quad tree */ |
| 480 | #define MAX_SUBNODEcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:480:9`! 4 |
| 481 | |
| 482 | /* upper limit of tree levels for automatic estimation */ |
| 483 | #define MAX_DEFAULT_TREE_DEPTHcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:483:9`! 12 |
| 484 | |
| 485 | typedef struct shape_tree_nodecxx . . $ shape_tree_node# |
| 486 | { |
| 487 | /* region covered by this node */ |
| 488 | double adfBoundsMincxx . . $ shape_tree_node#adfBoundsMin.[4]; |
| 489 | double adfBoundsMaxcxx . . $ shape_tree_node#adfBoundsMax.[4]; |
| 490 | |
| 491 | /* list of shapes stored at this node. The papsShapeObj pointers |
| 492 | or the whole list can be NULL */ |
| 493 | int nShapeCountcxx . . $ shape_tree_node#nShapeCount.; |
| 494 | int *panShapeIdscxx . . $ shape_tree_node#panShapeIds.; |
| 495 | SHPObjectcxx . . $ SHPObject# **papsShapeObjcxx . . $ shape_tree_node#papsShapeObj.; |
| 496 | |
| 497 | int nSubNodescxx . . $ shape_tree_node#nSubNodes.; |
| 498 | struct shape_tree_nodecxx . . $ shape_tree_node# *apsSubNodecxx . . $ shape_tree_node#apsSubNode.[MAX_SUBNODEcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:480:9`!]; |
| 499 | |
| 500 | } SHPTreeNodecxx . . $ SHPTreeNode#; |
| 501 | |
| 502 | typedef structcxx . . $ $anonymous_type_aed2aca5ac3e792b_2# |
| 503 | { |
| 504 | SHPHandlecxx . . $ SHPHandle# hSHPcxx . . $ $anonymous_type_aed2aca5ac3e792b_2#hSHP.; |
| 505 | |
| 506 | int nMaxDepthcxx . . $ $anonymous_type_aed2aca5ac3e792b_2#nMaxDepth.; |
| 507 | int nDimensioncxx . . $ $anonymous_type_aed2aca5ac3e792b_2#nDimension.; |
| 508 | int nTotalCountcxx . . $ $anonymous_type_aed2aca5ac3e792b_2#nTotalCount.; |
| 509 | |
| 510 | SHPTreeNodecxx . . $ SHPTreeNode# *psRootcxx . . $ $anonymous_type_aed2aca5ac3e792b_2#psRoot.; |
| 511 | } SHPTreecxx . . $ SHPTree#; |
| 512 | |
| 513 | SHPTreecxx . . $ SHPTree# SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 514 | SHPCreateTreecxx . . $ SHPCreateTree(362633193be2a848).( SHPHandlecxx . . $ SHPHandle# hSHP, int nDimension, int nMaxDepth, |
| 515 | double *padfBoundsMin, double *padfBoundsMax ); |
| 516 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 517 | SHPDestroyTreecxx . . $ SHPDestroyTree(7e0eb00003254f8b).( SHPTreecxx . . $ SHPTree# * hTree ); |
| 518 | |
| 519 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 520 | SHPWriteTreecxx . . $ SHPWriteTree(679b3443cda195a7).( SHPTreecxx . . $ SHPTree# *hTree, const char * pszFilename ); |
| 521 | |
| 522 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 523 | SHPTreeAddShapeIdcxx . . $ SHPTreeAddShapeId(27fc5f0031d2a198).( SHPTreecxx . . $ SHPTree# * hTree, SHPObjectcxx . . $ SHPObject# * psObject ); |
| 524 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 525 | SHPTreeRemoveShapeIdcxx . . $ SHPTreeRemoveShapeId(60b477b551f678e8).( SHPTreecxx . . $ SHPTree# * hTree, int nShapeId ); |
| 526 | |
| 527 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 528 | SHPTreeTrimExtraNodescxx . . $ SHPTreeTrimExtraNodes(7e0eb00003254f8b).( SHPTreecxx . . $ SHPTree# * hTree ); |
| 529 | |
| 530 | int SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 531 | SHPTreeFindLikelyShapescxx . . $ SHPTreeFindLikelyShapes(2028500aadf4d1df).( SHPTreecxx . . $ SHPTree# * hTree, |
| 532 | double * padfBoundsMin, |
| 533 | double * padfBoundsMax, |
| 534 | int * ); |
| 535 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 536 | SHPCheckBoundsOverlapcxx . . $ SHPCheckBoundsOverlap(4b66bf736037f3b0).( double *, double *, double *, double *, int ); |
| 537 | |
| 538 | int SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 539 | SHPSearchDiskTreecxx . . $ SHPSearchDiskTree(83750e9b42b223c4).( FILEcxx . . $ FILE# *fp, |
| 540 | double *padfBoundsMin, double *padfBoundsMax, |
| 541 | int *pnShapeCount ); |
| 542 | |
| 543 | typedef struct SHPDiskTreeInfocxx . . $ SHPDiskTreeInfo#* SHPTreeDiskHandlecxx . . $ SHPTreeDiskHandle#; |
| 544 | |
| 545 | SHPTreeDiskHandlecxx . . $ SHPTreeDiskHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 546 | SHPOpenDiskTreecxx . . $ SHPOpenDiskTree(b30a51c3a0eddf11).( const char* pszQIXFilename, |
| 547 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 548 | |
| 549 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 550 | SHPCloseDiskTreecxx . . $ SHPCloseDiskTree(451620b7ff5f0656).( SHPTreeDiskHandlecxx . . $ SHPTreeDiskHandle# hDiskTree ); |
| 551 | |
| 552 | int SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 553 | SHPSearchDiskTreeExcxx . . $ SHPSearchDiskTreeEx(79f18891d2ac80a).( SHPTreeDiskHandlecxx . . $ SHPTreeDiskHandle# hDiskTree, |
| 554 | double *padfBoundsMin, double *padfBoundsMax, |
| 555 | int *pnShapeCount ); |
| 556 | |
| 557 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 558 | SHPWriteTreeLLcxx . . $ SHPWriteTreeLL(334f9ea26097bf99).(SHPTreecxx . . $ SHPTree# *hTree, const char *pszFilename, SAHookscxx . . $ SAHooks# *psHooks ); |
| 559 | |
| 560 | /* -------------------------------------------------------------------- */ |
| 561 | /* SBN Search API */ |
| 562 | /* -------------------------------------------------------------------- */ |
| 563 | |
| 564 | typedef struct SBNSearchInfocxx . . $ SBNSearchInfo#* SBNSearchHandlecxx . . $ SBNSearchHandle#; |
| 565 | |
| 566 | SBNSearchHandlecxx . . $ SBNSearchHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 567 | SBNOpenDiskTreecxx . . $ SBNOpenDiskTree(9647449fa272976).( const char* pszSBNFilename, |
| 568 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 569 | |
| 570 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 571 | SBNCloseDiskTreecxx . . $ SBNCloseDiskTree(c25f1c2811b1e3fd).( SBNSearchHandlecxx . . $ SBNSearchHandle# hSBN ); |
| 572 | |
| 573 | int SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 574 | SBNSearchDiskTreecxx . . $ SBNSearchDiskTree(28356f77b50a7864).( SBNSearchHandlecxx . . $ SBNSearchHandle# hSBN, |
| 575 | double *padfBoundsMin, double *padfBoundsMax, |
| 576 | int *pnShapeCount ); |
| 577 | |
| 578 | int SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 579 | SBNSearchDiskTreeIntegercxx . . $ SBNSearchDiskTreeInteger(5a2068a1611ae518).( SBNSearchHandlecxx . . $ SBNSearchHandle# hSBN, |
| 580 | int bMinX, int bMinY, int bMaxX, int bMaxY, |
| 581 | int *pnShapeCount ); |
| 582 | |
| 583 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! SBNSearchFreeIdscxx . . $ SBNSearchFreeIds(11b0e290e57a7e53).( int* panShapeId ); |
| 584 | |
| 585 | /************************************************************************/ |
| 586 | /* DBF Support. */ |
| 587 | /************************************************************************/ |
| 588 | typedef structcxx . . $ $anonymous_type_aed2aca5ac3e792b_3# |
| 589 | { |
| 590 | SAHookscxx . . $ SAHooks# sHookscxx . . $ $anonymous_type_aed2aca5ac3e792b_3#sHooks.; |
| 591 | |
| 592 | SAFilecxx . . $ SAFile# fpcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#fp.; |
| 593 | |
| 594 | int nRecordscxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nRecords.; |
| 595 | |
| 596 | int nRecordLengthcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nRecordLength.; /* Must fit on uint16 */ |
| 597 | int nHeaderLengthcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nHeaderLength.; /* File header length (32) + field |
| 598 | descriptor length + spare space. |
| 599 | Must fit on uint16 */ |
| 600 | int nFieldscxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nFields.; |
| 601 | int *panFieldOffsetcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#panFieldOffset.; |
| 602 | int *panFieldSizecxx . . $ $anonymous_type_aed2aca5ac3e792b_3#panFieldSize.; |
| 603 | int *panFieldDecimalscxx . . $ $anonymous_type_aed2aca5ac3e792b_3#panFieldDecimals.; |
| 604 | char *pachFieldTypecxx . . $ $anonymous_type_aed2aca5ac3e792b_3#pachFieldType.; |
| 605 | |
| 606 | char *pszHeadercxx . . $ $anonymous_type_aed2aca5ac3e792b_3#pszHeader.; /* Field descriptors */ |
| 607 | |
| 608 | int nCurrentRecordcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nCurrentRecord.; |
| 609 | int bCurrentRecordModifiedcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#bCurrentRecordModified.; |
| 610 | char *pszCurrentRecordcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#pszCurrentRecord.; |
| 611 | |
| 612 | int nWorkFieldLengthcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nWorkFieldLength.; |
| 613 | char *pszWorkFieldcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#pszWorkField.; |
| 614 | |
| 615 | int bNoHeadercxx . . $ $anonymous_type_aed2aca5ac3e792b_3#bNoHeader.; |
| 616 | int bUpdatedcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#bUpdated.; |
| 617 | |
| 618 | unioncxx . . $ $anonymous_type_aed2aca5ac3e792b_3#$anonymous_type_4# |
| 619 | { |
| 620 | double dfDoubleFieldcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#$anonymous_type_4#dfDoubleField.; |
| 621 | int nIntFieldcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#$anonymous_type_4#nIntField.; |
| 622 | } fieldValuecxx . . $ $anonymous_type_aed2aca5ac3e792b_3#fieldValue.; |
| 623 | |
| 624 | int iLanguageDrivercxx . . $ $anonymous_type_aed2aca5ac3e792b_3#iLanguageDriver.; |
| 625 | char *pszCodePagecxx . . $ $anonymous_type_aed2aca5ac3e792b_3#pszCodePage.; |
| 626 | |
| 627 | int nUpdateYearSince1900cxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nUpdateYearSince1900.; /* 0-255 */ |
| 628 | int nUpdateMonthcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nUpdateMonth.; /* 1-12 */ |
| 629 | int nUpdateDaycxx . . $ $anonymous_type_aed2aca5ac3e792b_3#nUpdateDay.; /* 1-31 */ |
| 630 | |
| 631 | int bWriteEndOfFileCharcxx . . $ $anonymous_type_aed2aca5ac3e792b_3#bWriteEndOfFileChar.; /* defaults to TRUE */ |
| 632 | } DBFInfocxx . . $ DBFInfo#; |
| 633 | |
| 634 | typedef DBFInfocxx . . $ DBFInfo# * DBFHandlecxx . . $ DBFHandle#; |
| 635 | |
| 636 | typedef enumcxx . . $ $anonymous_type_aed2aca5ac3e792b_5# { |
| 637 | FTStringcxx . . $ FTString., |
| 638 | FTIntegercxx . . $ FTInteger., |
| 639 | FTDoublecxx . . $ FTDouble., |
| 640 | FTLogicalcxx . . $ FTLogical., |
| 641 | FTDatecxx . . $ FTDate., |
| 642 | FTInvalidcxx . . $ FTInvalid. |
| 643 | } DBFFieldTypecxx . . $ DBFFieldType#; |
| 644 | |
| 645 | /* Field descriptor/header size */ |
| 646 | #define XBASE_FLDHDR_SZcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:646:9`! 32 |
| 647 | /* Shapelib read up to 11 characters, even if only 10 should normally be used */ |
| 648 | #define XBASE_FLDNAME_LEN_READcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:648:9`! 11 |
| 649 | /* On writing, we limit to 10 characters */ |
| 650 | #define XBASE_FLDNAME_LEN_WRITEcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:650:9`! 10 |
| 651 | /* Normally only 254 characters should be used. We tolerate 255 historically */ |
| 652 | #define XBASE_FLD_MAX_WIDTHcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:652:9`! 255 |
| 653 | |
| 654 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 655 | DBFOpencxx . . $ DBFOpen(97e4b7c39621c841).( const char * pszDBFFile, const char * pszAccess ); |
| 656 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 657 | DBFOpenLLcxx . . $ DBFOpenLL(ab2248c53b1e5f0c).( const char * pszDBFFile, const char * pszAccess, |
| 658 | SAHookscxx . . $ SAHooks# *psHooks ); |
| 659 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 660 | DBFCreatecxx . . $ DBFCreate(cb12bd0850f2a9cc).( const char * pszDBFFile ); |
| 661 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 662 | DBFCreateExcxx . . $ DBFCreateEx(97e4b7c39621c841).( const char * pszDBFFile, const char * pszCodePage ); |
| 663 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 664 | DBFCreateLLcxx . . $ DBFCreateLL(ab2248c53b1e5f0c).( const char * pszDBFFile, const char * pszCodePage, SAHookscxx . . $ SAHooks# *psHooks ); |
| 665 | |
| 666 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 667 | DBFGetFieldCountcxx . . $ DBFGetFieldCount(2dbef16ed687a474).( DBFHandlecxx . . $ DBFHandle# psDBF ); |
| 668 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 669 | DBFGetRecordCountcxx . . $ DBFGetRecordCount(2dbef16ed687a474).( DBFHandlecxx . . $ DBFHandle# psDBF ); |
| 670 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 671 | DBFAddFieldcxx . . $ DBFAddField(45abb93c37a7c32d).( DBFHandlecxx . . $ DBFHandle# hDBF, const char * pszFieldName, |
| 672 | DBFFieldTypecxx . . $ DBFFieldType# eType, int nWidth, int nDecimals ); |
| 673 | |
| 674 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 675 | DBFAddNativeFieldTypecxx . . $ DBFAddNativeFieldType(90d43b68ff7877e).( DBFHandlecxx . . $ DBFHandle# hDBF, const char * pszFieldName, |
| 676 | char chType, int nWidth, int nDecimals ); |
| 677 | |
| 678 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 679 | DBFDeleteFieldcxx . . $ DBFDeleteField(d5f400e1de4e51e4).( DBFHandlecxx . . $ DBFHandle# hDBF, int iField ); |
| 680 | |
| 681 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 682 | DBFReorderFieldscxx . . $ DBFReorderFields(daa1ba5f192738c9).( DBFHandlecxx . . $ DBFHandle# psDBF, int* panMap ); |
| 683 | |
| 684 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 685 | DBFAlterFieldDefncxx . . $ DBFAlterFieldDefn(885a1b77810dd8b4).( DBFHandlecxx . . $ DBFHandle# psDBF, int iField, const char * pszFieldName, |
| 686 | char chType, int nWidth, int nDecimals ); |
| 687 | |
| 688 | DBFFieldTypecxx . . $ DBFFieldType# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 689 | DBFGetFieldInfocxx . . $ DBFGetFieldInfo(b4a63cbb8134d965).( DBFHandlecxx . . $ DBFHandle# psDBF, int iField, |
| 690 | char * pszFieldName, int * pnWidth, int * pnDecimals ); |
| 691 | |
| 692 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 693 | DBFGetFieldIndexcxx . . $ DBFGetFieldIndex(fb6f8378d6c9ca4f).(DBFHandlecxx . . $ DBFHandle# psDBF, const char *pszFieldName); |
| 694 | |
| 695 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 696 | DBFReadIntegerAttributecxx . . $ DBFReadIntegerAttribute(693614f0b9ffe180).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 697 | double SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 698 | DBFReadDoubleAttributecxx . . $ DBFReadDoubleAttribute(2d52113e81af1ad0).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 699 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 700 | DBFReadStringAttributecxx . . $ DBFReadStringAttribute(842d1f59a98e8898).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 701 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 702 | DBFReadLogicalAttributecxx . . $ DBFReadLogicalAttribute(842d1f59a98e8898).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 703 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 704 | DBFIsAttributeNULLcxx . . $ DBFIsAttributeNULL(693614f0b9ffe180).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 705 | |
| 706 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 707 | DBFWriteIntegerAttributecxx . . $ DBFWriteIntegerAttribute(a6d9eb01cbdba6d5).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField, |
| 708 | int nFieldValue ); |
| 709 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 710 | DBFWriteDoubleAttributecxx . . $ DBFWriteDoubleAttribute(292e1c815955c08c).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField, |
| 711 | double dFieldValue ); |
| 712 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 713 | DBFWriteStringAttributecxx . . $ DBFWriteStringAttribute(29a50c0cede9bb48).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField, |
| 714 | const char * pszFieldValue ); |
| 715 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 716 | DBFWriteNULLAttributecxx . . $ DBFWriteNULLAttribute(693614f0b9ffe180).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField ); |
| 717 | |
| 718 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 719 | DBFWriteLogicalAttributecxx . . $ DBFWriteLogicalAttribute(10592b11995bc2ab).( DBFHandlecxx . . $ DBFHandle# hDBF, int iShape, int iField, |
| 720 | const char lFieldValue); |
| 721 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 722 | DBFWriteAttributeDirectlycxx . . $ DBFWriteAttributeDirectly(1f20ac1afa124241).(DBFHandlecxx . . $ DBFHandle# psDBF, int hEntity, int iField, |
| 723 | void * pValue ); |
| 724 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 725 | DBFReadTuplecxx . . $ DBFReadTuple(d2b7ad401383ce75).(DBFHandlecxx . . $ DBFHandle# psDBF, int hEntity ); |
| 726 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 727 | DBFWriteTuplecxx . . $ DBFWriteTuple(293608d84aa31756).(DBFHandlecxx . . $ DBFHandle# psDBF, int hEntity, void * pRawTuple ); |
| 728 | |
| 729 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! DBFIsRecordDeletedcxx . . $ DBFIsRecordDeleted(d5f400e1de4e51e4).( DBFHandlecxx . . $ DBFHandle# psDBF, int iShape ); |
| 730 | int SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! DBFMarkRecordDeletedcxx . . $ DBFMarkRecordDeleted(693614f0b9ffe180).( DBFHandlecxx . . $ DBFHandle# psDBF, int iShape, |
| 731 | int bIsDeleted ); |
| 732 | |
| 733 | DBFHandlecxx . . $ DBFHandle# SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 734 | DBFCloneEmptycxx . . $ DBFCloneEmpty(6fa9cfbd5389ae83).(DBFHandlecxx . . $ DBFHandle# psDBF, const char * pszFilename ); |
| 735 | |
| 736 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 737 | DBFClosecxx . . $ DBFClose(72ec644f28633392).( DBFHandlecxx . . $ DBFHandle# hDBF ); |
| 738 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 739 | DBFUpdateHeadercxx . . $ DBFUpdateHeader(72ec644f28633392).( DBFHandlecxx . . $ DBFHandle# hDBF ); |
| 740 | char SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 741 | DBFGetNativeFieldTypecxx . . $ DBFGetNativeFieldType(481c3f732cded711).( DBFHandlecxx . . $ DBFHandle# hDBF, int iField ); |
| 742 | |
| 743 | const char SHPAPI_CALL1cxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:253:11`!(*) |
| 744 | DBFGetCodePagecxx . . $ DBFGetCodePage(163db9c81add00f1).(DBFHandlecxx . . $ DBFHandle# psDBF ); |
| 745 | |
| 746 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! |
| 747 | DBFSetLastModifiedDatecxx . . $ DBFSetLastModifiedDate(45fbfc4ed8ecc896).( DBFHandlecxx . . $ DBFHandle# psDBF, int nYYSince1900, int nMM, int nDD ); |
| 748 | |
| 749 | void SHPAPI_CALLcxx . . $ `libs/qCC_io/extern/shapelib/shapefil.h:248:13`! DBFSetWriteEndOfFileCharcxx . . $ DBFSetWriteEndOfFileChar(fc1801bc47f0c5b4).( DBFHandlecxx . . $ DBFHandle# psDBF, int bWriteFlag ); |
| 750 | |
| 751 | #ifdef __cpluspluscxx . . $ `<built-in>:450:9`! |
| 752 | } |
| 753 | #endif |
| 754 | |
| 755 | #endif /* ndef SHAPEFILE_H_INCLUDED */ |