MCPcopy Create free account
hub / github.com/MyGUI/mygui / getConnectionByName

Method getConnectionByName

UnitTests/UnitTest_GraphView/BaseGraphNode.h:42–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 }
41
42 BaseGraphConnection* getConnectionByName(std::string_view _name, std::string_view _type = {})
43 {
44 EnumeratorConnection point = getConnectionEnumerator();
45 while (point.next())
46 {
47 if (point->getName() == _name && (_type.empty() || point->getType() == _type))
48 {
49 return point.current();
50 }
51 }
52 return nullptr;
53 }
54
55 const MyGUI::IntCoord& getCoord()
56 {

Callers 1

loadFromFileMethod · 0.80

Calls 4

nextMethod · 0.45
emptyMethod · 0.45
getTypeMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected