MCPcopy Create free account
hub / github.com/Kitware/VTK / getDBcontext

Function getDBcontext

ThirdParty/libproj/vtklibproj/src/filemanager.cpp:1627–1634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1625// ---------------------------------------------------------------------------
1626
1627static NS_PROJ::io::DatabaseContextPtr getDBcontext(PJ_CONTEXT *ctx) {
1628 try {
1629 return ctx->get_cpp_context()->getDatabaseContext().as_nullable();
1630 } catch (const std::exception &e) {
1631 pj_log(ctx, PJ_LOG_DEBUG, "%s", e.what());
1632 return nullptr;
1633 }
1634}
1635
1636/************************************************************************/
1637/* FileManager::open_resource_file() */

Calls 4

pj_logFunction · 0.85
getDatabaseContextMethod · 0.80
get_cpp_contextMethod · 0.80
whatMethod · 0.45

Tested by

no test coverage detected