PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ DBFIsAttributeNULL()

int SHPAPI_CALL DBFIsAttributeNULL ( DBFHandle  hDBF,
int  iShape,
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
#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')

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: