PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ DBFIsAttributeNULL()

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

Definition at line 1175 of file dbfopen.c.

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

Referenced by ShpLoaderGenerateSQLRowStatement().

1177 {
1178  const char *pszValue;
1179 
1180  pszValue = DBFReadStringAttribute( psDBF, iRecord, iField );
1181 
1182  if( pszValue == NULL )
1183  return TRUE;
1184 
1185  return DBFIsValueNULL( psDBF->pachFieldType[iField], pszValue );
1186 }
const char SHPAPI_CALL1 * DBFReadStringAttribute(DBFHandle psDBF, int iRecord, int iField){ return((const char *) DBFReadAttribute(psDBF, iRecord, iField, 'C')
static int DBFIsValueNULL(char chType, const char *pszValue)
Definition: dbfopen.c:1115
#define TRUE
Definition: dbfopen.c:169
Here is the call graph for this function:
Here is the caller graph for this function: