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

Method removeFunction

libchigraph/src/GraphModule.cpp:723–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

721}
722
723bool GraphModule::removeFunction(boost::string_view name, bool deleteReferences) {
724 // invalidate the cache
725 updateLastEditTime();
726
727 auto funcPtr = functionFromName(name);
728
729 if (funcPtr == nullptr) { return false; }
730
731 removeFunction(*funcPtr, deleteReferences);
732
733 return true;
734}
735
736void GraphModule::removeFunction(GraphFunction& func, bool deleteReferences) {
737 // invalidate the cache

Callers 1

Calls 6

findInstancesOfTypeMethod · 0.80
removeNodeMethod · 0.80
beginMethod · 0.80
endMethod · 0.80
getMethod · 0.80
nameMethod · 0.45

Tested by

no test coverage detected