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

Function GDALAlgorithmRegistryGetAlgNames

gcore/gdalalgorithmregistry.cpp:386–390  ·  view source on GitHub ↗

Return the names of the algorithms registered in the registry passed as * parameter. * * @param hReg Handle to a registry. Must NOT be null. * @return a NULL terminated list of names, which must be destroyed with * CSLDestroy() * * @since 3.11 */

Source from the content-addressed store, hash-verified

384 * @since 3.11
385 */
386char **GDALAlgorithmRegistryGetAlgNames(GDALAlgorithmRegistryH hReg)
387{
388 VALIDATE_POINTER1(hReg, __func__, nullptr);
389 return CPLStringList(hReg->ptr->GetNames()).StealList();
390}
391
392/************************************************************************/
393/* GDALAlgorithmRegistryInstantiateAlg() */

Callers 1

TEST_FFunction · 0.85

Calls 2

StealListMethod · 0.80
GetNamesMethod · 0.80

Tested by 1

TEST_FFunction · 0.68