PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ DBFIsAttributeNULL()

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

Definition at line 1145 of file dbfopen.c.

1146 {
1147  const char *pszValue;
1148 
1149  pszValue = DBFReadStringAttribute(psDBF, iRecord, iField);
1150 
1151  if (pszValue == NULL)
1152  return TRUE;
1153 
1154  return DBFIsValueNULL(psDBF->pachFieldType[iField], pszValue);
1155 }
static int DBFIsValueNULL(char chType, const char *pszValue)
Definition: dbfopen.c:1080
const char SHPAPI_CALL1 * DBFReadStringAttribute(DBFHandle psDBF, int iRecord, int iField){ return((const char *) DBFReadAttribute(psDBF, iRecord, iField, 'C')
#define TRUE
Definition: dbfopen.c:169

References DBFIsValueNULL(), DBFReadStringAttribute(), and TRUE.

Referenced by ShpLoaderGenerateSQLRowStatement().

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