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

Function CPLAccessConfigOption

port/cpl_conv.cpp:1652–1665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1650/************************************************************************/
1651
1652static void CPLAccessConfigOption(const char *pszKey, bool bGet)
1653{
1654 CPLMutexHolderD(&hRegisterConfigurationOptionMutex);
1655 if (paoGetKeys == nullptr)
1656 {
1657 paoGetKeys = new std::set<CPLString>;
1658 paoSetKeys = new std::set<CPLString>;
1659 atexit(CPLShowAccessedOptions);
1660 }
1661 if (bGet)
1662 paoGetKeys->insert(pszKey);
1663 else
1664 paoSetKeys->insert(pszKey);
1665}
1666#endif
1667
1668/************************************************************************/

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected