MCPcopy Create free account
hub / github.com/chigraph/chigraph / moduleByFullName

Method moduleByFullName

libchigraph/src/Context.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48Context::~Context() = default;
49
50ChiModule* Context::moduleByFullName(const boost::filesystem::path& fullModuleName) const noexcept {
51 for (auto& module : mModules) {
52 if (module->fullName() == fullModuleName) { return module.get(); }
53 }
54 return nullptr;
55}
56
57GraphModule* Context::newGraphModule(const boost::filesystem::path& fullName) {
58 // create the module

Callers 7

ContextTests.cppFile · 0.80
DebuggerTests.cppFile · 0.80
JSONSerializer.cppFile · 0.80
nodeFromFrameMethod · 0.80

Calls 2

fullNameMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected