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

Function GDALAlgorithmGetSubAlgorithmNames

gcore/gdalalgorithm.cpp:7651–7655  ·  view source on GitHub ↗

Get the names of registered algorithms. * * @param hAlg Handle to an algorithm. 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

7649 * @since 3.11
7650 */
7651char **GDALAlgorithmGetSubAlgorithmNames(GDALAlgorithmH hAlg)
7652{
7653 VALIDATE_POINTER1(hAlg, __func__, nullptr);
7654 return CPLStringList(hAlg->ptr->GetSubAlgorithmNames()).StealList();
7655}
7656
7657/************************************************************************/
7658/* GDALAlgorithmInstantiateSubAlgorithm() */

Callers 1

TEST_FFunction · 0.85

Calls 2

StealListMethod · 0.80
GetSubAlgorithmNamesMethod · 0.80

Tested by 1

TEST_FFunction · 0.68