173 |
extern "C" { |
extern "C" { |
174 |
#endif |
#endif |
175 |
|
|
176 |
|
#if defined(_WIN32) || defined(_WIN64) |
177 |
|
#define SHPAPI_HAS_WIDE |
178 |
|
#endif |
179 |
|
|
180 |
/************************************************************************/ |
/************************************************************************/ |
181 |
/* Configuration options. */ |
/* Configuration options. */ |
182 |
/************************************************************************/ |
/************************************************************************/ |
333 |
SHPOpen( const char * pszShapeFile, const char * pszAccess ); |
SHPOpen( const char * pszShapeFile, const char * pszAccess ); |
334 |
SHPHandle SHPAPI_CALL |
SHPHandle SHPAPI_CALL |
335 |
SHPCreate( const char * pszShapeFile, int nShapeType ); |
SHPCreate( const char * pszShapeFile, int nShapeType ); |
336 |
|
#ifdef SHPAPI_HAS_WIDE |
337 |
|
SHPHandle SHPAPI_CALL |
338 |
|
SHPOpenW( const wchar_t * pszShapeFile, const wchar_t * pszAccess ); |
339 |
|
SHPHandle SHPAPI_CALL |
340 |
|
SHPCreateW( const wchar_t * pszShapeFile, int nShapeType ); |
341 |
|
#endif |
342 |
|
SHPHandle SHPAPI_CALL |
343 |
|
SHPOpenEx( FILE * pfSHP, FILE * pfSHX ); |
344 |
|
void SHPAPI_CALL |
345 |
|
SHPCreateEx( FILE * pfSHP, FILE * pfSHX, int nShapeType ); |
346 |
|
|
347 |
void SHPAPI_CALL |
void SHPAPI_CALL |
348 |
SHPGetInfo( SHPHandle hSHP, int * pnEntities, int * pnShapeType, |
SHPGetInfo( SHPHandle hSHP, int * pnEntities, int * pnShapeType, |
349 |
double * padfMinBound, double * padfMaxBound ); |
double * padfMinBound, double * padfMaxBound ); |
421 |
SHPWriteTree( SHPTree *hTree, const char * pszFilename ); |
SHPWriteTree( SHPTree *hTree, const char * pszFilename ); |
422 |
SHPTree SHPAPI_CALL |
SHPTree SHPAPI_CALL |
423 |
SHPReadTree( const char * pszFilename ); |
SHPReadTree( const char * pszFilename ); |
424 |
|
#ifdef SHPAPI_HAS_WIDE |
425 |
|
int SHPAPI_CALL |
426 |
|
SHPWriteTreeW( SHPTree *hTree, const wchar_t * pszFilename ); |
427 |
|
SHPTree SHPAPI_CALL |
428 |
|
SHPReadTreeW( const wchar_t * pszFilename ); |
429 |
|
#endif |
430 |
|
|
431 |
int SHPAPI_CALL |
int SHPAPI_CALL |
432 |
SHPTreeAddObject( SHPTree * hTree, SHPObject * psObject ); |
SHPTreeAddObject( SHPTree * hTree, SHPObject * psObject ); |
493 |
DBFOpen( const char * pszDBFFile, const char * pszAccess ); |
DBFOpen( const char * pszDBFFile, const char * pszAccess ); |
494 |
DBFHandle SHPAPI_CALL |
DBFHandle SHPAPI_CALL |
495 |
DBFCreate( const char * pszDBFFile ); |
DBFCreate( const char * pszDBFFile ); |
496 |
|
#ifdef SHPAPI_HAS_WIDE |
497 |
|
DBFHandle SHPAPI_CALL |
498 |
|
DBFOpenW( const wchar_t * pszDBFFile, const wchar_t * pszAccess ); |
499 |
|
DBFHandle SHPAPI_CALL |
500 |
|
DBFCreateW( const wchar_t * pszDBFFile ); |
501 |
|
#endif |
502 |
|
DBFHandle SHPAPI_CALL |
503 |
|
DBFOpenEx( FILE* pf ); |
504 |
|
DBFHandle SHPAPI_CALL |
505 |
|
DBFCreateEx( FILE* pf ); |
506 |
|
|
507 |
int SHPAPI_CALL |
int SHPAPI_CALL |
508 |
DBFGetFieldCount( DBFHandle psDBF ); |
DBFGetFieldCount( DBFHandle psDBF ); |
555 |
|
|
556 |
DBFHandle SHPAPI_CALL |
DBFHandle SHPAPI_CALL |
557 |
DBFCloneEmpty(DBFHandle psDBF, const char * pszFilename ); |
DBFCloneEmpty(DBFHandle psDBF, const char * pszFilename ); |
558 |
|
#ifdef DBFAPI_HAS_WIDE |
559 |
|
DBFHandle SHPAPI_CALL |
560 |
|
DBFCloneEmptyW(DBFHandle psDBF, const wchar_t * pszFilename ); |
561 |
|
#endif |
562 |
|
void SHPAPI_CALL |
563 |
|
DBFCloneEmptyEx(DBFHandle psDBF, DBFHandle newDBF ); |
564 |
|
|
565 |
void SHPAPI_CALL |
void SHPAPI_CALL |
566 |
DBFClose( DBFHandle hDBF ); |
DBFClose( DBFHandle hDBF ); |
567 |
void SHPAPI_CALL |
void SHPAPI_CALL |