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

◆ DBFIsAttributeNULL()

int SHPAPI_CALL DBFIsAttributeNULL ( DBFHandle  psDBF,
int  iRecord,
int  iField 
)

Definition at line 1226 of file dbfopen.c.

1228{
1229 const char *pszValue;
1230
1231 pszValue = DBFReadStringAttribute( psDBF, iRecord, iField );
1232
1233 if( pszValue == SHPLIB_NULLPTR )
1234 return TRUE;
1235
1236 return DBFIsValueNULL( psDBF->pachFieldType[iField], pszValue );
1237}
static int DBFIsValueNULL(char chType, const char *pszValue)
Definition dbfopen.c:1177
const char SHPAPI_CALL1 * DBFReadStringAttribute(DBFHandle psDBF, int iRecord, int iField){ return STATIC_CAST(const char *, DBFReadAttribute(psDBF, iRecord, iField, 'C')
#define TRUE
Definition dbfopen.c:73
#define SHPLIB_NULLPTR
Definition dbfopen.c:99
char * pachFieldType
Definition shapefil.h:604

References DBFIsValueNULL(), DBFReadStringAttribute(), DBFInfo::pachFieldType, SHPLIB_NULLPTR, and TRUE.

Referenced by ShpLoaderGenerateSQLRowStatement().

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