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

Function GetStat

alg/zonal.cpp:714–722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712 }
713
714 static Stat GetStat(const std::string &stat)
715 {
716 for (Stat s = CENTER_X; s < INVALID; s = static_cast<Stat>(s + 1))
717 {
718 if (stat == GetString(s))
719 return s;
720 }
721 return INVALID;
722 }
723
724 static OGRFieldType GetFieldType(Stat stat)
725 {

Callers 2

InitFunction · 0.85
GetOutputLayerFunction · 0.85

Calls 1

GetStringFunction · 0.70

Tested by

no test coverage detected