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

Method HasSubAlgorithms

gcore/gdalalgorithm.cpp:3648–3655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3646/************************************************************************/
3647
3648bool GDALAlgorithm::HasSubAlgorithms() const
3649{
3650 if (!m_subAlgRegistry.empty())
3651 return true;
3652 return !GDALGlobalAlgorithmRegistry::GetSingleton()
3653 .GetDeclaredSubAlgorithmNames(m_callPath)
3654 .empty();
3655}
3656
3657/************************************************************************/
3658/* GDALAlgorithm::GetSubAlgorithmNames() */

Callers 5

TEST_FFunction · 0.80
checkFunction · 0.80
test_algorithmFunction · 0.80

Calls 2

emptyMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
test_algorithmFunction · 0.64