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

Method removeDataInput

libchigraph/src/GraphFunction.cpp:224–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224void GraphFunction::removeDataInput(size_t idx) {
225 // invalidate the cache
226 module().updateLastEditTime();
227
228 if (idx < mDataInputs.size()) { mDataInputs.erase(mDataInputs.begin() + idx); }
229 updateEntries();
230}
231
232void GraphFunction::renameDataInput(size_t idx, std::string newName) {
233 // invalidate the cache

Callers

nothing calls this directly

Calls 2

updateLastEditTimeMethod · 0.80
beginMethod · 0.80

Tested by

no test coverage detected