| 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 | { |
no test coverage detected