PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ DBFIsRecordDeleted()

int SHPAPI_CALL DBFIsRecordDeleted ( DBFHandle  psDBF,
int  iShape 
)

Definition at line 1741 of file dbfopen.c.

1743{
1744/* -------------------------------------------------------------------- */
1745/* Verify selection. */
1746/* -------------------------------------------------------------------- */
1747 if( iShape < 0 || (psDBF->nRecords > 0 && iShape >= psDBF->nRecords) )
1748 return TRUE;
1749
1750/* -------------------------------------------------------------------- */
1751/* Have we read the record? */
1752/* -------------------------------------------------------------------- */
1753 if( !DBFLoadRecord( psDBF, iShape ) )
1754 return FALSE;
1755
1756/* -------------------------------------------------------------------- */
1757/* '*' means deleted. */
1758/* -------------------------------------------------------------------- */
1759 return psDBF->pszCurrentRecord[0] == '*';
1760}
static int DBFLoadRecord(DBFHandle psDBF, int iRecord)
Definition dbfopen.c:257
#define TRUE
Definition dbfopen.c:73
#define FALSE
Definition dbfopen.c:72
char * pszCurrentRecord
Definition shapefil.h:610
int nRecords
Definition shapefil.h:594

References DBFLoadRecord(), FALSE, DBFInfo::nRecords, DBFInfo::pszCurrentRecord, and TRUE.

Referenced by ShpLoaderGenerateSQLRowStatement().

Here is the call graph for this function:
Here is the caller graph for this function: