MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getMacroEntries

Method getMacroEntries

src/catalog/catalog.cpp:467–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467std::vector<ScalarMacroCatalogEntry*> Catalog::getMacroEntries(
468 const Transaction* transaction) const {
469 std::vector<ScalarMacroCatalogEntry*> result;
470 for (auto& [_, entry] : macros->getEntries(transaction)) {
471 DASSERT(entry->getType() == CatalogEntryType::SCALAR_MACRO_ENTRY);
472 result.push_back(entry->ptrCast<ScalarMacroCatalogEntry>());
473 }
474 return result;
475}
476
477std::vector<FunctionCatalogEntry*> Catalog::getFunctionEntries(
478 const Transaction* transaction) const {

Callers 1

bindFuncFunction · 0.80

Calls 3

getEntriesMethod · 0.45
getTypeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected