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

Function GDALAlgorithmArgSetDataset

gcore/gdalalgorithm.cpp:8995–8999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8993 */
8994
8995bool GDALAlgorithmArgSetDataset(GDALAlgorithmArgH hArg, GDALDatasetH hDS)
8996{
8997 VALIDATE_POINTER1(hArg, __func__, false);
8998 return hArg->ptr->Set(GDALDataset::FromHandle(hDS));
8999}
9000
9001/************************************************************************/
9002/* GDALAlgorithmArgSetAsStringList() */

Callers 1

TEST_FFunction · 0.85

Calls 2

FromHandleFunction · 0.70
SetMethod · 0.45

Tested by 1

TEST_FFunction · 0.68