MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / GetIdOf

Method GetIdOf

graph_implement.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138int ALGraph::GetIdOf(MyGraphicsVexItem *gvex){
139 int i = 0;
140 while(i < vexList.size() && !vexList[i].info->gVex->equalTo(gvex))
141 i++;
142 return i == vexList.size() ? -1 : i;
143}
144
145ALArc* ALGraph::FindArc(int sID, int eID){
146 if(sID < 0 || sID >= vexList.size())

Callers

nothing calls this directly

Calls 1

equalToMethod · 0.45

Tested by

no test coverage detected