PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ DBFIsAttributeNULL()

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

Definition at line 1175 of file dbfopen.c.

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 }
static int DBFIsValueNULL(char chType, const char *pszValue)
Definition: dbfopen.c:1115
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: