Find node by ID Node ID Node or null if cannot find it
| 313 | /// <param name="id">Node ID</param> |
| 314 | /// <returns>Node or null if cannot find it</returns> |
| 315 | Node* GetNode(uint32 id) |
| 316 | { |
| 317 | Node* result = nullptr; |
| 318 | for (int32 i = 0; i < Nodes.Count(); i++) |
| 319 | { |
| 320 | if (Nodes[i].ID == id) |
| 321 | { |
| 322 | result = &Nodes[i]; |
| 323 | break; |
| 324 | } |
| 325 | } |
| 326 | return result; |
| 327 | } |
| 328 | |
| 329 | /// <summary> |
| 330 | /// Find parameter by ID |
no test coverage detected