| 612 | } |
| 613 | |
| 614 | std::vector<GraphCatalogEntry*> Catalog::getGraphEntries(const Transaction* transaction) const { |
| 615 | std::vector<GraphCatalogEntry*> result; |
| 616 | for (auto& [_, entry] : graphs->getEntries(transaction)) { |
| 617 | result.push_back(entry->ptrCast<GraphCatalogEntry>()); |
| 618 | } |
| 619 | return result; |
| 620 | } |
| 621 | |
| 622 | void Catalog::createGraph(Transaction* transaction, std::string name, bool isAnyGraph) { |
| 623 | auto entry = std::make_unique<GraphCatalogEntry>(std::move(name), isAnyGraph); |
no test coverage detected