| 159 | // --------------------------------------------------------------------------- |
| 160 | |
| 161 | NS_PROJ::io::DatabaseContextNNPtr projCppContext::getDatabaseContext() { |
| 162 | if (databaseContext_) { |
| 163 | return NN_NO_CHECK(databaseContext_); |
| 164 | } |
| 165 | auto dbContext = |
| 166 | NS_PROJ::io::DatabaseContext::create(dbPath_, auxDbPaths_, ctx_); |
| 167 | databaseContext_ = dbContext; |
| 168 | return dbContext; |
| 169 | } |
| 170 | |
| 171 | // --------------------------------------------------------------------------- |
| 172 |
no test coverage detected