MCPcopy Create free account
hub / github.com/OSGeo/gdal / CSVScanFileByName

Function CSVScanFileByName

port/cpl_csv.cpp:1321–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1319/************************************************************************/
1320
1321char **CSVScanFileByName(const char *pszFilename, const char *pszKeyFieldName,
1322 const char *pszValue, CSVCompareCriteria eCriteria)
1323
1324{
1325 const int iKeyField = CSVGetFileFieldId(pszFilename, pszKeyFieldName);
1326 if (iKeyField == -1)
1327 return nullptr;
1328
1329 return CSVScanFile(pszFilename, iKeyField, pszValue, eCriteria);
1330}
1331
1332/************************************************************************/
1333/* CSVGetField() */

Callers 1

importFromOziMethod · 0.85

Calls 2

CSVGetFileFieldIdFunction · 0.85
CSVScanFileFunction · 0.85

Tested by

no test coverage detected