PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ DBFIsAttributeNULL()

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

Definition at line 1217 of file dbfopen.c.

1219 {
1220  const char *pszValue;
1221 
1222  pszValue = DBFReadStringAttribute( psDBF, iRecord, iField );
1223 
1224  if( pszValue == SHPLIB_NULLPTR )
1225  return TRUE;
1226 
1227  return DBFIsValueNULL( psDBF->pachFieldType[iField], pszValue );
1228 }
static int DBFIsValueNULL(char chType, const char *pszValue)
Definition: dbfopen.c:1168
#define TRUE
Definition: dbfopen.c:73
#define SHPLIB_NULLPTR
Definition: dbfopen.c:99
const char SHPAPI_CALL1 * DBFReadStringAttribute(DBFHandle psDBF, int iRecord, int iField){ return STATIC_CAST(const char *, DBFReadAttribute(psDBF, iRecord, iField, 'C')
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: