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