MCPcopy Create free account
hub / github.com/colmap/colmap / Enter

Method Enter

src/pycolmap/scene/database.cc:20–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 explicit PyDatabaseTransaction(Database* database) : database_(database) {}
19
20 void Enter() {
21 transaction_ = std::make_unique<DatabaseTransaction>(database_);
22 }
23
24 void Exit(const py::args&) { transaction_.reset(); }
25

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected