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

Method GraphStruct

libchigraph/src/GraphStruct.cpp:19–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17namespace chi {
18
19GraphStruct::GraphStruct(GraphModule& mod, std::string name)
20 : mModule{&mod}, mContext{&mod.context()}, mName{std::move(name)} {}
21
22std::vector<NodeInstance*> GraphStruct::setName(std::string newName, bool updateReferences) {
23 assert(!newName.empty() && "Cannot pass an empty name to GraphStruct::setName");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected