PostGIS  2.1.10dev-r@@SVN_REVISION@@
int SHPAPI_CALL DBFIsAttributeNULL ( DBFHandle  psDBF,
int  iRecord,
int  iField 
)

Definition at line 1172 of file dbfopen.c.

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

Referenced by ShpLoaderGenerateSQLRowStatement().

1174 {
1175  const char *pszValue;
1176 
1177  pszValue = DBFReadStringAttribute( psDBF, iRecord, iField );
1178 
1179  if( pszValue == NULL )
1180  return TRUE;
1181 
1182  return DBFIsValueNULL( psDBF->pachFieldType[iField], pszValue );
1183 }
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:1112
#define TRUE
Definition: dbfopen.c:170

Here is the call graph for this function:

Here is the caller graph for this function: