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

Method renameDataOutput

libchigraph/src/GraphFunction.cpp:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270void GraphFunction::renameDataOutput(size_t idx, std::string newName) {
271 // invalidate the cache
272 module().updateLastEditTime();
273
274 if (idx < mDataOutputs.size()) { mDataOutputs[idx].name = std::move(newName); }
275 updateExits();
276}
277
278void GraphFunction::retypeDataOutput(size_t idx, DataType newType) {
279 if (idx < mDataOutputs.size()) { mDataOutputs[idx].type = std::move(newType); }

Callers 1

Calls 1

updateLastEditTimeMethod · 0.80

Tested by

no test coverage detected