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

Method FetchBool

port/cplstringlist.cpp:880–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878 */
879
880bool CPLStringList::FetchBool(const char *pszKey, bool bDefault) const
881
882{
883 const char *pszValue = FetchNameValue(pszKey);
884
885 if (pszValue == nullptr)
886 return bDefault;
887
888 return CPLTestBool(pszValue);
889}
890
891/************************************************************************/
892/* FetchBoolean() */

Callers 15

GetNextArrowArrayMethod · 0.80
WriteMethod · 0.80
OGRArrowArrayHelperMethod · 0.80
GetArrowSchemaMethod · 0.80
GetNextArrowArrayMethod · 0.80
GetNextArrowArrayMethod · 0.80
MAIN_STARTFunction · 0.80
GDALTranslateFunction · 0.80

Calls 1

CPLTestBoolFunction · 0.85

Tested by

no test coverage detected